commit | 9228af6bc20c27b9949df36684f9c06ca9cdb27d | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Fri Jan 05 17:06:17 2018 -0800 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Sat Jan 20 15:51:01 2018 -0800 |
tree | 2de7f9b8583c445cda2222a55442e261806b33de | |
parent | 51a9a31ba58171c147b4c0c16c6acd54a97a5f65 [diff] |
AudioFocusRequest: add ability to force ducking for a11y New API to specify an accessbility service wants to force ducking in its focus request, regardless of the framework's evaluation of whether or not it should duck the other players. Use of this API is restricted to requests coming from services bound to the A11y service, or root Bug: 62194333 Test: play a podcast in GPM and "adb shell claf --gain 3 --usage 11 --forceDuck" Change-Id: I85f26afa14fe233a3b870f86c9084613203494b8