• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

frameworks/base


Commit MetaInfo

Revisión37750eb17402965e7679f69defa50dbf37486640 (tree)
Tiempo2018-07-20 08:35:42
AutorRobert Shih <robertshih@goog...>
CommiterJP Sugarbroad

Log Message

Fix TrackInfo parcel write

Bug: 77600398
Change-Id: Ia316f1c5dc4879f6851fdb78fe8b9039579be7bc
(cherry picked from commit 0d2dc943dcaa3d7c8479e22ae62be9753ea2643c)

Cambiar Resumen

Diferencia incremental

--- a/media/java/android/media/MediaPlayer.java
+++ b/media/java/android/media/MediaPlayer.java
@@ -2025,10 +2025,10 @@ public class MediaPlayer extends PlayerBase
20252025 @Override
20262026 public void writeToParcel(Parcel dest, int flags) {
20272027 dest.writeInt(mTrackType);
2028+ dest.writeString(mFormat.getString(MediaFormat.KEY_MIME));
20282029 dest.writeString(getLanguage());
20292030
20302031 if (mTrackType == MEDIA_TRACK_TYPE_SUBTITLE) {
2031- dest.writeString(mFormat.getString(MediaFormat.KEY_MIME));
20322032 dest.writeInt(mFormat.getInteger(MediaFormat.KEY_IS_AUTOSELECT));
20332033 dest.writeInt(mFormat.getInteger(MediaFormat.KEY_IS_DEFAULT));
20342034 dest.writeInt(mFormat.getInteger(MediaFormat.KEY_IS_FORCED_SUBTITLE));