summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Yuri Lin <yurilin@google.com> 2022-09-06 16:14:16 -0400
committer Yuri Lin <yurilin@google.com> 2022-09-06 17:04:56 -0400
commite5e51116fb767162966a8e0d23fafb4f0ff46e86 (patch)
tree6fa111a9068aa39e32b00f9992788b5c323e69b2 /libs/androidfw/AssetsProvider.cpp
parent098816bc3c671f6fafdb8f39b9c3622facde22ee (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
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions