Merge "Remove a Handler constructor parameter Looper in TIS" into lmp-dev
diff --git a/media/java/android/media/tv/TvInputService.java b/media/java/android/media/tv/TvInputService.java
index 3a188ab..d6d2d48 100644
--- a/media/java/android/media/tv/TvInputService.java
+++ b/media/java/android/media/tv/TvInputService.java
@@ -92,7 +92,7 @@
* Handler instance to handle request from TV Input Manager Service. Should be run in the main
* looper to be synchronously run with {@code Session.mHandler}.
*/
- private final Handler mServiceHandler = new ServiceHandler(getMainLooper());
+ private Handler mServiceHandler = new ServiceHandler();
private final RemoteCallbackList<ITvInputServiceCallback> mCallbacks =
new RemoteCallbackList<ITvInputServiceCallback>();
@@ -1167,10 +1167,6 @@
private static final int DO_ADD_HDMI_CEC_TV_INPUT = 5;
private static final int DO_REMOVE_HDMI_CEC_TV_INPUT = 6;
- public ServiceHandler(Looper looper) {
- super(looper);
- }
-
private void broadcastAddHardwareTvInput(int deviceId, TvInputInfo inputInfo) {
int n = mCallbacks.beginBroadcast();
for (int i = 0; i < n; ++i) {