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

Skip to content
Commit d2f0725f authored by Achim Thesmann's avatar Achim Thesmann Committed by Android Build Coastguard Worker
Browse files

Revert^2 "Clear the BAL allowlist duration"

Clearing BAL privileges of a PendingIntent only cleared the tokens,
but kept the duration based entries to allow FGS starts. With this
change the duration token is downgraded to NOT allow FGS starts.

`clearAllowBgActivityStarts` is exclusively used by SystemUI
(in NotificationManagerService) and fixing this is part of
fixing a security vulnerability.

The original fix is caused issues when dismissing notifications
from some apps, therefore it is flag guarded now.

This reverts commit 2e971059.
Reason for revert: roll forward with changes

BYPASS_INCLUSIVE_LANGUAGE_REASON=Using an existing API

Bug: 322159724
Flag: com.android.window.flags.bal_clear_allowlist_duration
Test: atest PendingIntentControllerTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c4021093e6d0a29d30c48b6bcaf672944555359c)
Merged-In: Iac2f9ba4be2dc3addbf04d996c6cb90fe5c6385f
Change-Id: Iac2f9ba4be2dc3addbf04d996c6cb90fe5c6385f
parent cbf08f40
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