commit | 6e2b01ce75fb1d5647d5d788d8a5644c30cb3068 | [log] [tgz] |
---|---|---|
author | Jaewan Kim <jaewan@google.com> | Thu Jan 19 16:33:14 2017 -0800 |
committer | Jaewan Kim <jaewan@google.com> | Tue Jan 24 09:41:54 2017 -0800 |
tree | 83df9116a274617897b06369a3c0fc8d9e3b34ba | |
parent | 5026936e49540449165fd5881231f8970a29ea91 [diff] |
Allow privileged app to set media key event listener If the media key listener is set, the listener will receive the media key events before any other sessions, but after the global priority session. If the event is handled by the listener, other sessions cannot get the event. Privileged app needs permission android.permission.SET_MEDIA_KEY_LISTENER to set the listener. Bug: 30125811 Change-Id: I2b2cf4ac7873b70899194701c6921990dcb9de02