summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Yuri Lin <yurilin@google.com> 2022-09-06 16:14:16 -0400
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2022-09-14 17:52:43 +0000
commit23e3c741225cc97dd3da6569af9abf2d6eed6877 (patch)
tree3129a7bc9220073c2fc5be8289aeca01b53b61dd /libs/androidfw/StringPool.cpp
parent80c15ed6591620034386a190d833cee829e4aace (diff)
Fix system zen rules by using owner package name if caller is system
Previously were unable to add new zen rules because rules added via the settings pages were getting registered under package "com.android.settings", which then were not considered "system rules". These rules should have package android, so when we can trust the caller (via checking that the caller is system) we should be taking the package name from the owner of the rule. Bug: 245236706 Bug: 242537431 Test: NMSTest; manual Change-Id: Id69b671592396ac3304862dadbe73de328a8e27a Merged-In: Id69b671592396ac3304862dadbe73de328a8e27a (cherry picked from commit b8c4819ec24a0ab8af72c10055ef02d5fa10a194) Merged-In: Id69b671592396ac3304862dadbe73de328a8e27a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions