diff options
| author | 2014-11-28 19:40:36 +0900 | |
|---|---|---|
| committer | 2014-11-28 19:40:36 +0900 | |
| commit | 266143e1fb15626b545faf0e8f3624bd32dc1c6b (patch) | |
| tree | 0db19cecbcc96796526efe5403d57627bf36225a | |
| parent | 9b35b801fb90e31c1dff5535715e505f3a1e26fb (diff) | |
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
| -rw-r--r-- | media/java/android/media/tv/TvInputService.java | 1 |
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 93cca2f816f0..b19a1fb71522 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 |