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

Commit 99d3e083 authored by Baohe.Wang's avatar Baohe.Wang Committed by android-build-merger
Browse files

Merge "TvInputManagerService patch" am: 11e60c08 am: 2891b74a am: d710ca39

am: d066d5b7

Change-Id: Ie545fb4737a79c7c2b35a4238d75d17435efa6f9
parents fe8ef8b8 d066d5b7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -842,6 +842,10 @@ public final class TvInputManagerService extends SystemService {
    private void setStateLocked(String inputId, int state, int userId) {
        UserState userState = getOrCreateUserStateLocked(userId);
        TvInputState inputState = userState.inputMap.get(inputId);
        if (inputState == null) {
            Slog.e(TAG, "failed to setStateLocked - unknown input id " + inputId);
            return;
        }
        ServiceState serviceState = userState.serviceStateMap.get(inputState.info.getComponent());
        int oldState = inputState.state;
        inputState.state = state;