commit | 1b2fa2486cc97fd9515300f858d4da2af8d8908c | [log] [tgz] |
---|---|---|
author | Iván Budnik <ivanbuper@google.com> | Tue Sep 06 16:52:44 2022 +0000 |
committer | Iván Budnik <ivanbuper@google.com> | Tue Sep 06 16:52:44 2022 +0000 |
tree | 801f853de321a322b635ecb32cb7112907ed866b | |
parent | 812e307934f0d6cebd705d64bccd9a40bae347c3 [diff] |
Enforce MediaButtonReceiver ComponentName belongs to app Adds check that enforces ComponentName's package belongs to calling app. This avoids privileged execution of arbitrary code through media button events. This is a partial revert revert of ag/19338169. Bug: 238177121 Test: atest CtsMediaBetterTogetherTestCases Change-Id: I4aba866a9758366175ea4af0d434729ad98fa48d