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:
@@ -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>() {
|
||||
|
||||
Reference in New Issue
Block a user