commit | 28602096e7d1d58f4b6ab4ea340ff1fb972377de | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Wed Mar 24 11:14:47 2021 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Thu Mar 25 10:04:23 2021 -0700 |
tree | 1305cac3a3dd68292305ddba5cdc208d43a79edc | |
parent | 40b4495f8eeb29150bee968c58634cc70c4a2460 [diff] |
Audio focus: test APIs for focus injection Add new APIs for testing more audio focus behaviors: - new methods to request/abandon audio focus on a "fake" focus owner for which an arbitrary UID can be injected - new method to query the fade out duration on focus loss Bug: 169620099 Test: atest AudioFocusTest#testAudioFocusRequestMediaGainLossWithPlayer Change-Id: I4be4597a994bde99ed5ef98296a4a8a2d1b02d8a