commit | 663a5ff13c727db9bd16bdd01b8128c712af0829 | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Tue May 11 18:02:47 2021 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Tue May 11 18:02:47 2021 -0700 |
tree | ec434a2e44585eab06e4db31a02ea65b34f6fa54 | |
parent | a91e5123fc27363285f467d8298942a214629170 [diff] |
Audio focus: tweaks for less intrusive fade outs - shorten duration of fade out from 2.5s to 2s - more aggressive fade out curve at start - do not fade out when: - focus winner has CONTENT_TYPE_SPEECH in focus request - focus loser has AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS Bug: 186685202 Test: atest AudioFocusTest Change-Id: Ic347cfa0b9f08ce24b9bb1354d1b334ef2f776fe