Use proper classloader when reading from parcel

Use the proper classloader when loading ImsStreamMediaProfile from a
parcel.

Bug: 71873453
Test: manual
Change-Id: Idf60f18b5d25b4c8eae225cb92a5391303c86d3b
This commit is contained in:
Hall Liu
2018-01-11 17:23:40 -08:00
parent 999d998fb0
commit aaf4b47e34

View File

@@ -351,7 +351,7 @@ public class ImsCallProfile implements Parcelable {
mServiceType = in.readInt();
mCallType = in.readInt();
mCallExtras = in.readBundle();
mMediaProfile = in.readParcelable(null);
mMediaProfile = in.readParcelable(ImsStreamMediaProfile.class.getClassLoader());
}
public static final Creator<ImsCallProfile> CREATOR = new Creator<ImsCallProfile>() {