From 7374d5303cd561be1e9a20acaf4f91cdc53c49ab Mon Sep 17 00:00:00 2001 From: Achim Thesmann Date: Tue, 4 Apr 2023 23:08:11 -0700 Subject: [PATCH] Fix log message The extra `NOT` of the double negation caused confusion debugging b/270612197. The opposite of `blocked` is simply `allowed`, not `NOT allowed`. Test: atest BackgroundActivityStartController Bug: 270612197 Change-Id: Ie91a628dffe433f84f5e8af0809246d1ab7fe16e --- .../android/server/wm/BackgroundActivityStartController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/core/java/com/android/server/wm/BackgroundActivityStartController.java b/services/core/java/com/android/server/wm/BackgroundActivityStartController.java index 6773bcd6fac82..e447049a7362e 100644 --- a/services/core/java/com/android/server/wm/BackgroundActivityStartController.java +++ b/services/core/java/com/android/server/wm/BackgroundActivityStartController.java @@ -487,7 +487,7 @@ public class BackgroundActivityStartController { // The verdict changed from allow (resultIfPiSenderAllowsBal) to block, PI sender // default change is on (otherwise we would have fallen into if above) and we'd // allow if it were off - Slog.wtf(TAG, "Without BAL hardening this activity start would NOT be allowed!" + Slog.wtf(TAG, "Without BAL hardening this activity start would be allowed!" + stateDumpLog); } }