diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2017-05-05 11:43:31 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2017-05-05 17:32:10 -0700 |
commit | 270f1c9d8ff38be25b8972f7d158ca178da82eb7 (patch) | |
tree | a6744838ece26b93b457795a30605036c119c547 /rs/java/android/renderscript/RenderScriptCacheDir.java | |
parent | 081249282005640682da315d6f0e0e3697fe4b37 (diff) |
Audio service: always unduck focus requester when granted
When an app is requesting focus, it might
have been in the focus stack before, and ducked. Always
unduck the associated players when the app requests audio
focus and it is granted.
When an app gains focus from an another abandoning focus,
do not make unducking conditional to having a focus
dispatcher (== app has a focus listener).
Test: test app made to duck, re-request focus and verify not ducked
Bug: 37433811
Change-Id: I7e5b29c9148c923e7510957b971e28b6139d6156
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions