summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2017-04-03 18:49:45 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2017-04-04 15:48:58 -0700
commitcafed63e3acfebe1c633433c9e3a6013bb1f47cc (patch)
treeb26794b63bb858bea5f9eebe130c54551fc83c7c /tools/aapt2/java/JavaClassGenerator.cpp
parent38344ac4e923704bb121de6c2c59ef14d6d32619 (diff)
Audio focus: duck new players during the ducked phase
Keep a list of all UIDs whose players should be ducked. Whenever a new player is created or started, and their UID matches one in the list, add them to the ducked players. The bug observed was when Play Music transitioned from one song to another while music should have been ducked: the new song wasn't unducked because it wasn't in the list of players to unduck, as it wasn't active when the ducking occured. Test: request focus while Play Music transitions from one song to another Bug: 36232742 Bug: 30258418 Change-Id: If8bd47128e6177731406f39e77d049b0d6f34f5d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions