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

Commit a4b1818e authored by Sherry Huang's avatar Sherry Huang Committed by Android (Google) Code Review
Browse files

Merge "TIAS: fix for handle interactive session" into main

parents f093d9eb 4ea1fc1c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -797,7 +797,7 @@ public class TvInteractiveAppManagerService extends SystemService {
                Slog.e(TAG, "error in onSessionReleased", e);
            }
        }
        removeAdSessionStateLocked(state.mSessionToken, state.mUserId);
        removeSessionStateLocked(state.mSessionToken, state.mUserId);
    }

    @GuardedBy("mLock")
@@ -1054,7 +1054,7 @@ public class TvInteractiveAppManagerService extends SystemService {
            final long identity = Binder.clearCallingIdentity();
            try {
                synchronized (mLock) {
                    releaseSessionLocked(sessionToken, callingUid, resolvedUserId);
                    releaseAdSessionLocked(sessionToken, callingUid, resolvedUserId);
                }
            } finally {
                Binder.restoreCallingIdentity(identity);
@@ -1714,7 +1714,7 @@ public class TvInteractiveAppManagerService extends SystemService {
            final long identity = Binder.clearCallingIdentity();
            try {
                synchronized (mLock) {
                    releaseAdSessionLocked(sessionToken, callingUid, resolvedUserId);
                    releaseSessionLocked(sessionToken, callingUid, resolvedUserId);
                }
            } finally {
                Binder.restoreCallingIdentity(identity);