summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorDongwon Kang <dwkang@google.com>2014-11-28 19:40:36 +0900
committerDongwon Kang <dwkang@google.com>2014-11-28 19:40:36 +0900
commit266143e1fb15626b545faf0e8f3624bd32dc1c6b (patch)
tree0db19cecbcc96796526efe5403d57627bf36225a /media
parent9b35b801fb90e31c1dff5535715e505f3a1e26fb (diff)
downloadframeworks_base-266143e1fb15626b545faf0e8f3624bd32dc1c6b.zip
frameworks_base-266143e1fb15626b545faf0e8f3624bd32dc1c6b.tar.gz
frameworks_base-266143e1fb15626b545faf0e8f3624bd32dc1c6b.tar.bz2
TIF: call tune() in HardwareSession
Background: The underlying passthrough TV input expects tune() command to show video on the screen and call notifyVideoAvailable(). Bug: 18551619 Change-Id: I257db321c09d621e6bd3c0e69bfe0abfca5742a9
Diffstat (limited to 'media')
-rw-r--r--media/java/android/media/tv/TvInputService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/java/android/media/tv/TvInputService.java b/media/java/android/media/tv/TvInputService.java
index 93cca2f..b19a1fb 100644
--- a/media/java/android/media/tv/TvInputService.java
+++ b/media/java/android/media/tv/TvInputService.java
@@ -1210,6 +1210,7 @@ public abstract class TvInputService extends Service {
}
mServiceHandler.obtainMessage(ServiceHandler.DO_NOTIFY_SESSION_CREATED, args)
.sendToTarget();
+ session.tune(TvContract.buildChannelUriForPassthroughInput(getHardwareInputId()));
}
@Override