summaryrefslogtreecommitdiff
path: root/tools/aapt/Command.cpp
diff options
context:
space:
mode:
author Yuri Lin <yurilin@google.com> 2022-08-25 16:23:12 -0400
committer Yuri Lin <yurilin@google.com> 2022-08-25 21:10:08 +0000
commit4bdb5f9859636bdcd664a9478eecc3a1635a8e2c (patch)
treeb69e96500766785316f3cb4d492014adae27ba5e /tools/aapt/Command.cpp
parent07acb763a749c08ea43a3ee4235265addb82aba7 (diff)
Check rule package name in ZenModeHelper.addAutomaticRule
instead of checking that of the configuration activity, which is potentially spoofable. The package name is verified to be the same app as the caller by NMS. This change removes isSystemRule (called only once) in favor of checking the provided package name directly. Bug: 242537431 Test: ZenModeHelperTest, manual by verifying via provided exploit apk Change-Id: Ic7f350618c26a613df455a4128c9195f4b424a4d Merged-In: Ic7f350618c26a613df455a4128c9195f4b424a4d
Diffstat (limited to 'tools/aapt/Command.cpp')
0 files changed, 0 insertions, 0 deletions