diff options
author | Beth Thibodeau <ethibodeau@google.com> | 2021-04-22 15:30:34 -0400 |
---|---|---|
committer | Beth Thibodeau <ethibodeau@google.com> | 2021-04-23 14:38:52 -0400 |
commit | 4053be9269a5e33492e38a5aa59b13ef2f629be8 (patch) | |
tree | a918899107d1ef222fc41602d58428f3329f08f9 /libs/hwui/renderthread/RenderThread.cpp | |
parent | c28f00cbf13f1490750e77813243aa8e4ae45a69 (diff) |
Only allow local sessions to be resumable
It is possible for an app to be resumable locally, but also post
notifications when playing remotely that are not resumable long-term.
This change makes it so that only local sessions will be used for resume
players, and remote sessions will be removed when the underlying notification
is removed.
Bug: 185681682
Test: manual - start playback on Spotify web, observe notification on
phone, then close app on phone and observe no resume player
Test: atest MediaDataManagerTest MediaResumeListenerTest
Change-Id: I0a6ff2bab234a33298f84fd6d99b7d537d3d5e34
Diffstat (limited to 'libs/hwui/renderthread/RenderThread.cpp')
0 files changed, 0 insertions, 0 deletions