diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2021-08-23 09:50:35 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2021-08-24 15:31:35 -0700 |
commit | e0141e5be0337b6eea75ef75076ac69e8bfddc6a (patch) | |
tree | c317f3b2fe6f1a36a1b6c3e0104c2e137961d070 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8051a7a003533a73771b0a1dc86a5ece830ae8fe (diff) |
AudioService: validate uid / package name match
When checking app ops, check for exceptions that indicate uid
and package name mismatch.
This affects the code paths for methods:
- adjustStreamVolume
- setStreamVolume
- setMicrophoneMute
- setMasterMute
Bug: 194110891 194110526
Test: see bug exploit app, verify real/bogus package shows uninstalled
Change-Id: Ice7a84993c68e7ec736fdf0b9fd5b8171b37b725
Merged-In: I5cdd52899bc3c89b41bc6074568e2b62637c005c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions