Fix StorageVolume Parcel parsing
We write String8 so should readString8 and not readString which defaults to readString16 Bug: 170481432 Test: Manual Change-Id: Id4b3802fd8669403f78a355fcb2c0fedfb239e72
This commit is contained in:
@@ -163,7 +163,7 @@ public final class StorageVolume implements Parcelable {
|
||||
mMaxFileSize = in.readLong();
|
||||
mOwner = in.readParcelable(null);
|
||||
if (in.readInt() != 0) {
|
||||
mUuid = StorageManager.convert(in.readString());
|
||||
mUuid = StorageManager.convert(in.readString8());
|
||||
} else {
|
||||
mUuid = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user