Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac8c3d33 authored by Youngsang Cho's avatar Youngsang Cho Committed by Android (Google) Code Review
Browse files

Merge "Remove a Handler constructor parameter Looper in TIS" into lmp-dev

parents 887ad97e 3d13aec5
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ public abstract class TvInputService extends Service {
     * 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 @@ public abstract class TvInputService extends Service {
        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) {