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

Commit 0c38fc76 authored by Ji-Hwan Lee's avatar Ji-Hwan Lee
Browse files

TIF: Fix release logic for hardware wrapper input

Change-Id: I7aad26682738e7a20bc6a053c3827ab79e83e925
parent dd8e48f3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1809,7 +1809,7 @@ public final class TvInputManagerService extends SystemService {
                // If there are any other sessions based on this session, they should be released.
                UserState userState = getUserStateLocked(mUserId);
                for (SessionState sessionState : userState.sessionStateMap.values()) {
                    if (mSession != null && mSession == sessionState.mHardwareSessionToken) {
                    if (mSessionToken == sessionState.mHardwareSessionToken) {
                        try {
                            sessionState.mSession.release();
                        } catch (RemoteException e) {