summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src
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:17:32 +0000
commitfcc640c5783a40bb2375883ad8764db31b49aea1 (patch)
tree94488733353e70fa9a1ca8e379270521565bbdec /tests/DynamicCodeLoggerIntegrationTests/src
parentadafc9cb0ffcbf534e2b540f215d059e4de327b0 (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 'tests/DynamicCodeLoggerIntegrationTests/src')
0 files changed, 0 insertions, 0 deletions