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

Commit 4ea1fc1c authored by Sherry Huang's avatar Sherry Huang
Browse files

TIAS: fix for handle interactive session

Some functions calls for TvInterAppService and AdService called for the
wrong internal functions. This CL fixes those issues.

Test: atest TvInteractiveAppServiceTest
Bug: b/410704207
Flag: EXEMPT bugfix only
Change-Id: I27fd6cf57be749fa0ed9b2ca800b634a7cbc3e7f
parent f140c1fa
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);