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

Commit 3d24f17e authored by Ji-Hwan Lee's avatar Ji-Hwan Lee Committed by Android Git Automerger
Browse files

am 7ea51115: am e4160d70: am 9c5d5ad9: TIF: Fix invalid use of serviceStateMap.get()

* commit '7ea51115e98550cc9119187f02daa1a98ae9cd42':
  TIF: Fix invalid use of serviceStateMap.get()
parents da466e1e 6469c41f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -745,7 +745,7 @@ public final class TvInputManagerService extends SystemService {
    private void setStateLocked(String inputId, int state, int userId) {
        UserState userState = getUserStateLocked(userId);
        TvInputState inputState = userState.inputMap.get(inputId);
        ServiceState serviceState = userState.serviceStateMap.get(inputId);
        ServiceState serviceState = userState.serviceStateMap.get(inputState.mInfo.getComponent());
        int oldState = inputState.mState;
        inputState.mState = state;
        if (serviceState != null && serviceState.mService == null