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
committerBeth Thibodeau <ethibodeau@google.com>2020-03-06 22:29:55 -0500
commit7b6c1789a6109384f777e1862e9ffa9ad86e084e (patch)
tree235b5222744694179f3aed6e7c896897612cd355 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent74640d59013578be8918ae83fa88f741ce39f796 (diff)
Reset when playback state is NONE, and refactoring
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 refactored to put common code for QQS and QS players in a single class, and removed the long-press menu in QSMediaPlayer (which was just for testing) Fixes: 150437753 Fixes: 150742919 Bug: 150854549 Test: manual; atest com.android.systemui.qs com.android.systemui.statusbar.notification Change-Id: I0ecada16967a6d21b82dc86d05544cf78027bcd9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions