Merge "Merge "WrappedApplicationKey: Remove superfluous branch in deserialization." am: 2e6b40a883 am: 2efefc72f6 am: f464e50dab" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a4b254005c
@@ -167,10 +167,7 @@ public final class WrappedApplicationKey implements Parcelable {
|
||||
protected WrappedApplicationKey(Parcel in) {
|
||||
mAlias = in.readString();
|
||||
mEncryptedKeyMaterial = in.createByteArray();
|
||||
// Check if there is still data to be read.
|
||||
if (in.dataAvail() > 0) {
|
||||
mMetadata = in.createByteArray();
|
||||
}
|
||||
mMetadata = in.createByteArray();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user