diff options
| author | 2025-02-07 20:38:56 -0800 | |
|---|---|---|
| committer | 2025-02-07 20:38:56 -0800 | |
| commit | d8f585d45c34a803335abcb08ae28313375472c5 (patch) | |
| tree | 4c61d6546459e1dd0a5e39d79e1bd1148cffadc2 | |
| parent | 7d2f2aed39c8fdbf904f0ee3976ff248c2af392f (diff) | |
| parent | e4bdb439fa971e14046df8a714b60f6f5548c96e (diff) | |
Merge "[fgs] Add WIU ability to BFSL debug string" into main
| -rw-r--r-- | services/core/java/com/android/server/am/ActiveServices.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/am/ActiveServices.java b/services/core/java/com/android/server/am/ActiveServices.java index 6cca7d16842a..cce29592d912 100644 --- a/services/core/java/com/android/server/am/ActiveServices.java +++ b/services/core/java/com/android/server/am/ActiveServices.java @@ -8302,8 +8302,6 @@ public final class ActiveServices { if ((allowWiu == REASON_DENIED) || (allowStart == REASON_DENIED)) { @ReasonCode final int allowWhileInUse = shouldAllowFgsWhileInUsePermissionLocked( callingPackage, callingPid, callingUid, r.app, backgroundStartPrivileges); - // We store them to compare the old and new while-in-use logics to each other. - // (They're not used for any other purposes.) if (allowWiu == REASON_DENIED) { allowWiu = allowWhileInUse; } @@ -8706,6 +8704,7 @@ public final class ActiveServices { + ",duration:" + tempAllowListReason.mDuration + ",callingUid:" + tempAllowListReason.mCallingUid)) + ">" + + "; allowWiu:" + allowWhileInUse + "; targetSdkVersion:" + r.appInfo.targetSdkVersion + "; callerTargetSdkVersion:" + callerTargetSdkVersion + "; startForegroundCount:" + r.mStartForegroundCount |