summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/17/changes
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2014-11-24 14:43:10 -0800
committerJean-Michel Trivi <jmtrivi@google.com>2014-12-05 18:41:28 -0800
commit0212be5150fb9fb3c340f3c7e51f6126372cc6f9 (patch)
tree929f98806b4edb3591c5398881252fcd5c81b497 /docs/html/sdk/api_diff/17/changes
parent7792b714b66e3af57bc243666b7843b0adf9c0b3 (diff)
Support collaborative audio focus handling
Add new flag for an app to define it doesn't duck, but rather pauses when losing focus with AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK. This flag is to be used when requesting focus. Add support for AudioPolicy to specify whether it will implement ducking itself, rather than it being handled by an app. When ducking is handled by a policy, do not notify focus owners when they lose audio focus with LOSS_TRANSIENT_CAN_DUCK, unless they would have paused, as expressed with the AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS flag. Add a focus listener for a policy to be notified of focus changes so it can properly implement its own ducking. Bug 16010554 Change-Id: I11d7cdb85c52fd086128a44f4d938aaa44db5c25
Diffstat (limited to 'docs/html/sdk/api_diff/17/changes')
0 files changed, 0 insertions, 0 deletions