diff options
author | Beth Thibodeau <ethibodeau@google.com> | 2019-11-01 15:38:47 -0400 |
---|---|---|
committer | Beth Thibodeau <ethibodeau@google.com> | 2019-11-05 17:33:00 +0000 |
commit | d1eb0a8c37b1dfa76674d53270e6e64bc71f7a5d (patch) | |
tree | c2908c7ed8cc08391dbe1c95f9b7bf29d871b9d4 /tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java | |
parent | 90ebd2b8096c9bfca62cc8b1d8d1968b7f77f818 (diff) |
Update callbacks when media session has changed
In some cases it is possible to destroy the media session but still have
a notification in the shade. An app can then make a new session and
update the same notification with it.
Since we remove the callback/listener when a session is destroyed, we also
need to add them again if the session has changed.
Fixes: 142909875
Test: manual; atest
com.android.systemui.statusbar.notification.row.wrapper.NotificationMediaTemplateViewWrapperTest
Change-Id: Iefaf28b931f5438be005455af1e0fbb40fed2d60
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java')
0 files changed, 0 insertions, 0 deletions