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-12-14 02:24:12 +0000
commita3d6474113a96c97a8dcc223285425a1c716237d (patch)
tree9e625a0986b0b4e398e4ade1cea73ac7ba9291e5 /libs/androidfw/StringPool.cpp
parent7c11a18cd568fc3f452fac6fe0052412c219b8b1 (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 (cherry picked from commit e5e51116fb767162966a8e0d23fafb4f0ff46e86) Merged-In: Id69b671592396ac3304862dadbe73de328a8e27a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions