[automerger] Fix TrackInfo parcel write am: 0d2dc943dc am: 00b57fc9b7
Change-Id: Ida72e9fed175aa9497af5c5f607640c07cb04cf5
This commit is contained in:
@@ -2025,10 +2025,10 @@ public class MediaPlayer extends PlayerBase
|
|||||||
@Override
|
@Override
|
||||||
public void writeToParcel(Parcel dest, int flags) {
|
public void writeToParcel(Parcel dest, int flags) {
|
||||||
dest.writeInt(mTrackType);
|
dest.writeInt(mTrackType);
|
||||||
|
dest.writeString(mFormat.getString(MediaFormat.KEY_MIME));
|
||||||
dest.writeString(getLanguage());
|
dest.writeString(getLanguage());
|
||||||
|
|
||||||
if (mTrackType == MEDIA_TRACK_TYPE_SUBTITLE) {
|
if (mTrackType == MEDIA_TRACK_TYPE_SUBTITLE) {
|
||||||
dest.writeString(mFormat.getString(MediaFormat.KEY_MIME));
|
|
||||||
dest.writeInt(mFormat.getInteger(MediaFormat.KEY_IS_AUTOSELECT));
|
dest.writeInt(mFormat.getInteger(MediaFormat.KEY_IS_AUTOSELECT));
|
||||||
dest.writeInt(mFormat.getInteger(MediaFormat.KEY_IS_DEFAULT));
|
dest.writeInt(mFormat.getInteger(MediaFormat.KEY_IS_DEFAULT));
|
||||||
dest.writeInt(mFormat.getInteger(MediaFormat.KEY_IS_FORCED_SUBTITLE));
|
dest.writeInt(mFormat.getInteger(MediaFormat.KEY_IS_FORCED_SUBTITLE));
|
||||||
|
|||||||
Reference in New Issue
Block a user