summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2015-09-29 15:22:40 +0100
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-07-01 15:05:03 -0700
commit0456759df6b1fee78b1be782bb1185d565ba5f5f (patch)
treed702ce1783b546bb5aaa46be22f93748a197685b /media
parente045a776b14da6ffff66f4836e6cad5a915880d7 (diff)
downloadframeworks_base-0456759df6b1fee78b1be782bb1185d565ba5f5f.zip
frameworks_base-0456759df6b1fee78b1be782bb1185d565ba5f5f.tar.gz
frameworks_base-0456759df6b1fee78b1be782bb1185d565ba5f5f.tar.bz2
Remove use of '_' variable name
'_' may become invalid in future versions of the Java language and generates warnings in OpenJDK 8. Bug: 24494019 Change-Id: Id77c8f003b0fdf295191d2d8dbd5b0b0edde2b44
Diffstat (limited to 'media')
-rw-r--r--media/java/android/media/SRTRenderer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/java/android/media/SRTRenderer.java b/media/java/android/media/SRTRenderer.java
index ee4edee..a3e2abd 100644
--- a/media/java/android/media/SRTRenderer.java
+++ b/media/java/android/media/SRTRenderer.java
@@ -165,7 +165,6 @@ class SRTTrack extends WebVttTrack {
return;
}
- final int _ = 0;
for (Cue cue : activeCues) {
TextTrackCue ttc = (TextTrackCue) cue;
@@ -184,7 +183,8 @@ class SRTTrack extends WebVttTrack {
parcel.writeInt(buf.length);
parcel.writeByteArray(buf);
- Message msg = mEventHandler.obtainMessage(MEDIA_TIMED_TEXT, _, _, parcel);
+ Message msg = mEventHandler.obtainMessage(MEDIA_TIMED_TEXT, 0 /* arg1 */, 0 /* arg2 */,
+ parcel);
mEventHandler.sendMessage(msg);
}
activeCues.clear();