Merge "WrappedApplicationKey: Remove superfluous branch in deserialization."
This commit is contained in:
@@ -167,11 +167,8 @@ public final class WrappedApplicationKey implements Parcelable {
|
|||||||
protected WrappedApplicationKey(Parcel in) {
|
protected WrappedApplicationKey(Parcel in) {
|
||||||
mAlias = in.readString();
|
mAlias = in.readString();
|
||||||
mEncryptedKeyMaterial = in.createByteArray();
|
mEncryptedKeyMaterial = in.createByteArray();
|
||||||
// Check if there is still data to be read.
|
|
||||||
if (in.dataAvail() > 0) {
|
|
||||||
mMetadata = in.createByteArray();
|
mMetadata = in.createByteArray();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int describeContents() {
|
public int describeContents() {
|
||||||
|
|||||||
Reference in New Issue
Block a user