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

Commit 09015492 authored by Ji-Hwan Lee's avatar Ji-Hwan Lee Committed by Android (Google) Code Review
Browse files

Merge "TIF: Fix release logic for hardware wrapper input" into lmp-dev

parents 3eb780bc 0c38fc76
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) {