summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBeth Thibodeau <ethibodeau@google.com>2020-03-05 11:43:51 -0500
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-03-05 23:57:17 +0000
commit6342d34a75d01d635af38cbd1a56da900af7545d (patch)
treeba2b000bccac91018c31a9827b905b834f560db3 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3853c649047990acb2e85a56c8908a430bf983a3 (diff)
Reset controls when playback state is NONE
If a notification is cleared it won't always send an update first and call onSessionDestroyed. NotificationMediaManager already checks if the current media notification is being removed and sends an event, so we can listen for that. This fixes the bug with cast notifications. It can also be tested by playing media, pausing, and then clearing all notifications - the controls will now switch to the resumption state. Also removed the long-press menu in QSMediaPlayer (which was just for testing) since I was refactoring that block anyways. Fixes: 150437753 Fixes: 150742919 Test: manual Change-Id: I0ecada16967a6d21b82dc86d05544cf78027bcd9 (cherry picked from commit 3316d251d322f80a8e24f0b1b2d0747f928ae6de)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions