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

Commit ec3ceb55 authored by Achim Thesmann's avatar Achim Thesmann
Browse files

Allow granting BAL privileged by opt-in on Broadcast PendingIntent

The current logic assumes that the creator of the PendingIntent is also the target of the PendingIntent, and only creates a BAL token if the creator is different from the sender, while the receiver of the broadcast needs the BAL permission.
The logic to prevent apps from creating their own tokens is moved to `BroadcastQueueImpl'.

Test: atest BackgroundActivityLaunchTest
Flag: com.android.window.flags.bal_check_broadcast_when_dispatched
Bug: 421197489, 422788436
Change-Id: Iec7ca549e2ef7ae889d94625fac83f19c8e7f657
parent a6188aac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment