commit | 483261f98e9eeb6191d42873970a2ae9709ac1fc | [log] [tgz] |
---|---|---|
author | Jaewan Kim <jaewan@google.com> | Tue Feb 20 11:45:12 2018 +0900 |
committer | Jaewan Kim <jaewan@google.com> | Fri Mar 02 16:28:28 2018 +0900 |
tree | 99a2d0f62c747d4bc2259be5e04a5adc13e7a18d | |
parent | 62abf5a3ec693c1c8d853e56b4e253798d09fb58 [diff] |
MediaSession2: Reject calls from a Controller that haven't allowed This CL prevent session from accepting unwanted commands. Remaining work is for controller to not sending command to prevent unnecessary binder calls. Note that we need protection logic from the session because an evil app may make fake binder interface and call any API. Bug: 72618604 Test: Run MediaComponentsTest Change-Id: I08401e99eb03b83b3b41321dca860c10990d78c4