forked from openkylin/platform_build
Track bouncycastle upgrade to 1.51
The new API in 1.51 will allow null return values. Change-Id: I583690bf0740b2d0962f02edea3896e18626e548
This commit is contained in:
parent
ce06199a04
commit
bda807d3a1
|
@ -621,8 +621,12 @@ class SignApk {
|
||||||
this.type = new ASN1ObjectIdentifier(CMSObjectIdentifiers.data.getId());
|
this.type = new ASN1ObjectIdentifier(CMSObjectIdentifiers.data.getId());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This should actually return byte[] or something similar, but nothing
|
||||||
|
* actually checks it currently.
|
||||||
|
*/
|
||||||
public Object getContent() {
|
public Object getContent() {
|
||||||
throw new UnsupportedOperationException();
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ASN1ObjectIdentifier getContentType() {
|
public ASN1ObjectIdentifier getContentType() {
|
||||||
|
|
Loading…
Reference in New Issue