commit | ac9df100f590cd6445ff16ddfe92bb787c3fb27e | [log] [tgz] |
---|---|---|
author | Hyundo Moon <hdmoon@google.com> | Fri Jun 12 19:36:10 2020 +0900 |
committer | Hyundo Moon <hdmoon@google.com> | Fri Jun 12 21:01:56 2020 +0900 |
tree | 733d442ec29f7d9e371ad330029a44e293830698 | |
parent | 6dca466770a982bcc34df7813a8f86532eeec4d4 [diff] |
Clear preferred feature when unregistering MediaRouter2 MediaRouter2Managers' preferred feature didn't get cleared even when the MediaRouter2 is unregistered/died. As a result, when an app is reinstalled/relaunched, the routes for the previous process are still shown in the MediaRouter2Manager. This CL fixes the problem. Bug: 158824569 Test: Passed CTS and mediaroutertest Also tested with reinstalling support7Demos. Change-Id: Ib5d84c41862177af32931e0d69b02f461105bba6