Merge changes from topic "am-9e4fa925-b00a-40e6-8fb0-e5a4244e6284" into oc-dev am: e43837e258 am: dccb62bcca
am: 64cb4be887
Change-Id: Id7d4599c5d7d7c803e86afa88be582773c80741f
This commit is contained in:
@@ -2510,10 +2510,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