summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBeth Thibodeau <ethibodeau@google.com>2021-04-22 21:50:52 -0400
committerBeth Thibodeau <ethibodeau@google.com>2021-04-22 21:50:52 -0400
commit9985b65f641127158e3646588a9f8c58a9dbcb3d (patch)
tree92a5e311da3fadda7177e49bf580a4b705f1aa8f /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc28f00cbf13f1490750e77813243aa8e4ae45a69 (diff)
Handle media session destroyed
It is possible for a media session to be destroyed without updating the playback state or removing the notification, in which case the controller will no longer be valid. So we can treat this like resumption, and re-register the controller and re-activate the controls if we later get an event where the media is playing. Fixes: 185899440 Test: MediaTimeoutListenerTest Change-Id: If8b8922b436261ccf703ee9e1e3c0294171a6c2e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions