summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorSungsoo Lim <sungsoo@google.com>2017-10-18 14:54:59 +0900
committerSungsoo Lim <sungsoo@google.com>2017-10-31 09:18:19 +0900
commit18341301443d0c8e1bd4fc1ba9a7c909593eb918 (patch)
tree8c9556290e913963146b50d592c69c0b4b82ad97 /tools/aapt2/java/JavaClassGenerator.cpp
parente439d72170c14e0b92cc906307010606f3d71521 (diff)
Fix overactive media routing
For MediaRouterService, - Delay route restoration to BT for 0.5s in case the app plays more audio For AudioPlaybackMonitor, - Rename to AudioPlayerStateMonitor. - Combine two listeners into one. - Take a handler for the looper of the callback methods. - Move the registration of playback callback into audio service from the constructor to the caller. Bug: 65376604 Test: manual tests as follows 1. Checked that the lastly played app receives the media key events although the app's media session doesn't report its playback state. 2. Checked that the lastly played app receives the media key events although the app's media session is released. 3. Confirmed that this mitigates the issue. Change-Id: I52e3719cd962f5d92c2f0e547309ce1314cc0926
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions