Merge "WrappedApplicationKey: Remove superfluous branch in deserialization." am: 2e6b40a883
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2043164 Change-Id: I585e033f4392d070134a1aee58d414f98e3fc017 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -167,10 +167,7 @@ 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.
|
mMetadata = in.createByteArray();
|
||||||
if (in.dataAvail() > 0) {
|
|
||||||
mMetadata = in.createByteArray();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user