From bda807d3a1f39024fad99b0afc9eed834d4f9b81 Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Thu, 7 Aug 2014 12:02:54 -0700 Subject: [PATCH] Track bouncycastle upgrade to 1.51 The new API in 1.51 will allow null return values. Change-Id: I583690bf0740b2d0962f02edea3896e18626e548 --- tools/signapk/SignApk.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/signapk/SignApk.java b/tools/signapk/SignApk.java index e661e506f..d0207362c 100644 --- a/tools/signapk/SignApk.java +++ b/tools/signapk/SignApk.java @@ -621,8 +621,12 @@ class SignApk { this.type = new ASN1ObjectIdentifier(CMSObjectIdentifiers.data.getId()); } + /** + * This should actually return byte[] or something similar, but nothing + * actually checks it currently. + */ public Object getContent() { - throw new UnsupportedOperationException(); + return this; } public ASN1ObjectIdentifier getContentType() {