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

Commit 7a460e07 authored by Achim Thesmann's avatar Achim Thesmann
Browse files

Create experiments for visibility check updates

1. The app switch state was ignored for the real caller, which cause the
   real caller check to return allow while the caller check blocked for the
   same condition.

2. The visibility change and check for system process are going to be
   split so they can return different bal codes.

Bug: 306059525
Test: atest BackgroundActivityLaunchTest

Change-Id: I34e8280b4a389a976368e7b6cfad4c910533398b
parent bdb52a53
Loading
Loading
Loading
Loading
+15 −1
Original line number Original line Diff line number Diff line
@@ -27,3 +27,17 @@ flag {
    description: "Enable toasts to indicate actual BAL blocking."
    description: "Enable toasts to indicate actual BAL blocking."
    bug: "308059069"
    bug: "308059069"
}
}

flag {
    name: "bal_return_correct_code_if_caller_is_persistent_system_process"
    namespace: "responsible_apis"
    description: "Split visibility check and return a better status code in case of system process."
    bug: "171459802"
}

flag {
    name: "bal_improve_real_caller_visibility_check"
    namespace: "responsible_apis"
    description: "Prevent a task to restart based on a visible window during task switch."
    bug: "171459802"
}