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

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

Merge "TIF: Remove session state when hardware wrapper input crashes" into lmp-dev

parents 249a7fdf 48354978
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -1800,11 +1800,8 @@ public final class TvInputManagerService extends SystemService {
                UserState userState = getUserStateLocked(mUserId);
                for (SessionState sessionState : userState.sessionStateMap.values()) {
                    if (mSessionToken == sessionState.mHardwareSessionToken) {
                        try {
                            sessionState.mSession.release();
                        } catch (RemoteException e) {
                            Slog.e(TAG, "error in release", e);
                        }
                        releaseSessionLocked(sessionState.mSessionToken, Process.SYSTEM_UID,
                                mUserId);
                        try {
                            sessionState.mClient.onSessionReleased(sessionState.mSeq);
                        } catch (RemoteException e) {