commit | 126cf03f7c8e825a23e47dd133e77eb1b3b7633d | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Sun Apr 02 23:19:02 2017 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Mon Apr 03 14:44:47 2017 -0700 |
tree | c3f979ffd4bfed9644bcc3aaa79f9ff2aa5e3727 | |
parent | 8371f96e9967c93e482dfb995c6092b2e7b78cec [diff] |
Audio focus: API for external audio focus policy System API for an external audio focus policy. Extends the system focus listener with interception of focus requests and abandons. Adds method for the focus policy to dispatch focus grants and losses. Test: gts-tradefed run gts -m GtsGmscoreHostTestCases -t 'com.google.android.gts.audio.AudioHostTest#testFocusPolicy' Bug: 30258418 Change-Id: If408569a2dce07a774e0e2f1be9f1af8e426d2d3