Skip to content
Commit cdd79ecd authored by Nan Wu's avatar Nan Wu
Browse files

Return BAL_ALLOW_VISIBLE_WINDOW for bound by fg UID BAL case

When bound by foreground UID and opted-in, we should consider the app as
BAL_ALLOW_VISIBLE_WINDOW, so ASM doesn't block the launch.
Without this change, tests broke. This change got lost during a code
rebase, merge conflict resolving.

Bug: 266716343
Test: atest BackgroundActivityLaunchTest
      testBalOptInBindToService_whenOptedIn_allowsActivityStarts
      testBalOptInBindToService_whenNotOptedInAndSdk33_allowsActivityStart

Change-Id: I41664e814ed0ab1eb38ff833e4ef073e5352b827
parent f0f201ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment