diff options
| author | 2025-01-23 23:12:23 +0000 | |
|---|---|---|
| committer | 2025-01-24 11:28:25 -0800 | |
| commit | 949e7bb75e395039af5bdf0aa4b48860fef69541 (patch) | |
| tree | ef0c2de2603eee7045d43c6ba44fd5579a540e96 /libs/androidfw/StringPool.cpp | |
| parent | 3f4ab0a71ea1530bf54f1d0b94add8c69f0279fd (diff) | |
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 2e971059454eeea9b606ef82207d74da8e329ffb.
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
Change-Id: Iac2f9ba4be2dc3addbf04d996c6cb90fe5c6385f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions