diff options
| author | 2022-04-27 16:19:59 +0000 | |
|---|---|---|
| committer | 2022-04-28 19:21:15 +0000 | |
| commit | 849d1ec7faa17df84f2cff58dc5d587bbae10df9 (patch) | |
| tree | d8236b731b1bfc4fca360fabeed3e606d66cbb8c /libs/androidfw/StringPool.cpp | |
| parent | 1d23f37e572f496f62fbdfbcd6367d1fd64f2ce7 (diff) | |
[Media] In MediaResumeListener, always disconnect the mediaBrowser when
it changes.
In some places in MediaResumeListener, like #getResumeAction, we were
re-setting the value of `mediaBrowser` without disconnecting the old one
(if it existed), so this might be causing the issue where SysUI is still
bound to an old service.
I haven't been able to repro b/225403871 yet so I'm not sure if this
does fix it but I think this is a good change regardless, and once it's in
some builds we can see if it helps.
Bug: 225403871
Test: MediaResumeListenerTest
Test: manual: verified different media cases still work
Change-Id: Ia123fcdce537ca845c62aa29958426d48e563cf7
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions