summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2017-12-28 15:25:35 -0800
committerJean-Michel Trivi <jmtrivi@google.com>2018-01-02 11:51:06 -0800
commitd9fef5cf4c62e10ed41ace93a44362b5f0142340 (patch)
treec62a423523f8a876167a1cdd912e16067371f9de /tools/aapt2/java/JavaClassGenerator_test.cpp
parent28bc987f61400b2862174149486e9f032c386a5f (diff)
Audio focus: definitive loss of focus removes client from stack
Use annotation for locking instead of javadoc comments. Better javadoc for focus loss propagation. When an audio focus user loses focus with AUDIOFOCUS_LOSS, remove it from the focus stack to prevent improper app behaviors (e.g. starting to play when regaining focus after a definitive loss). Test: 1/ launch media playback app that uses audio focus and play music 2/ launch other media app that requests AUDIOFOCUS_GAIN and play media 3/ "adb shell dumpsys audio" verify first app is not in focus stack anymore Change-Id: I2d4fb8ab8e554a38a650ddce440cc2f315083d08
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions