diff options
author | Jaewan Kim <jaewan@google.com> | 2016-09-19 21:19:55 +0900 |
---|---|---|
committer | Jaewan Kim <jaewan@google.com> | 2016-09-21 09:12:47 +0900 |
commit | d409d18686fb4e03714969e0e159f8afe5f16f8e (patch) | |
tree | 55bff73fe0bab88947661a0c96f4ead2ca0915ce /tools/aapt2/diff/Diff.cpp | |
parent | 7538bb68cd8ab4781451781c123d72121b577934 (diff) |
Check caller for sending media key to global priority session
Prevent sending media key events from the non-system app to the global
priority session through the MediaSessionManager.dispatchMediaKeyEvent().
Note that any app can use the API indirectly with
the public API AudioManager.dispatchMediaKeyEvent().
Bug: 29833954
Tested: Installed malicious apps and confirmed that they don't work.
Tested: Run CtsTelecomTestCases and CtsMediaTestCases
Change-Id: I2a9e78196ba7455324e485f098f095d03b47ee15
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions