diff options
| author | Jean-Michel Trivi <jmtrivi@google.com> | 2017-05-01 17:51:14 -0700 |
|---|---|---|
| committer | Jean-Michel Trivi <jmtrivi@google.com> | 2017-05-01 17:51:14 -0700 |
| commit | 7b8da92d49caf965e8616ceeba828275574f09c0 (patch) | |
| tree | 571d32760fee288cb99236917a41e2addb6ac021 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
| parent | a08ba3ef31e135ded437b0ca6f83bfe77a31c33b (diff) | |
Audio focus: fix notifying apps to pause without an external policy
In the absence of an external audio policy that implements ducking,
check whether the focus loser has the
AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS flag: if yes, do not
let the framework handle ducking, notify the app.
Test: use app that calls AudioFocusRequest.Builder.setWillPauseWhenDucked(true) and verify it doesn't get ducked by framework
Bug: 30258418
Change-Id: I12655b413504ed101dd14d2b60ffdaf16c5b6148
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions
