diff options
| author | 2022-11-09 15:26:20 -0500 | |
|---|---|---|
| committer | 2022-12-14 02:24:51 +0000 | |
| commit | 22f33c562a6413bdfd298c0b332ff88e5895cd54 (patch) | |
| tree | d8bf472b8996a59bb10cf02241a2e6c1cf1727f5 /libs/androidfw/StringPool.cpp | |
| parent | d59967ad9e0bfbf8aeb9449c0c3ac06ec0b7acaa (diff) | |
Use rule package name in addAutomaticZenRule; specify "android" for all system apps
This is a roll forward of two reverted changes combined into one:
commit b6d04416628ab29df57efcd738332912d9260cea
commit e5e51116fb767162966a8e0d23fafb4f0ff46e86
It additionally fixes an issue where in multi-user profiles (such as a guest user), rules would be incorrectly identified as not created by the system and would therefore fail to be created in settings.
Bug: 257477671
Bug: 245236706
Bug: 242537431
Test: NotificationManagerServiceTest; ZenModeHelperTest; manually verified that it's possible to create zen schedules from guest mode
Change-Id: I0c4c705cfe5fc875151958957daaf8657fbc21a7
(cherry picked from commit 7261cdd30bf18965d421fc28c68c61e380bc952d)
Merged-In: I0c4c705cfe5fc875151958957daaf8657fbc21a7
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions