diff options
author | RoboErik <epastern@google.com> | 2014-04-30 12:48:25 -0700 |
---|---|---|
committer | RoboErik <epastern@google.com> | 2014-05-06 14:06:29 -0700 |
commit | e7880d8eb1903d42e4e2a90c99b58e2240e01e82 (patch) | |
tree | 5741d2b360b17a5be6c26d804dde98f55705b01e /tests | |
parent | cedde01622a6798f5c4526ef1227bd906b6e59ef (diff) | |
download | frameworks_base-e7880d8eb1903d42e4e2a90c99b58e2240e01e82.zip frameworks_base-e7880d8eb1903d42e4e2a90c99b58e2240e01e82.tar.gz frameworks_base-e7880d8eb1903d42e4e2a90c99b58e2240e01e82.tar.bz2 |
Add APIs for creating a system priority session and getting controllers
This adds a hidden call to set flags and a flag for making a session an
exclusive high priority session. This will cause all media button events
to be sent to that session as long as it is stillr egistered. This
requires the MODIFY_PHONE_STATE permission like the old forCalls API.
This also adds a way to get controllers for all the ongoing sessions.
This is protected by the MEDIA_CONTENT_CONTROL permission like the
old RemoteController APIs.
Change-Id: I51540e8dcf3a7dbe02a0f8ee003821e40af653a3
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions