diff options
author | Kyunglyul Hyun <klhyun@google.com> | 2020-10-15 06:20:45 +0000 |
---|---|---|
committer | Kyunglyul Hyun <klhyun@google.com> | 2020-12-21 00:34:16 +0000 |
commit | 56bc77955355f5e2db824c6cab977cc245283d97 (patch) | |
tree | 9b34fcc85fbb871ce3578a97eadfc16f91dc744c /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 6592972285d7d4e5b3e2b33b208301b71cc2b18e (diff) |
MediaRouterService binds services when necessary
MediaRouterService maintained bindings to provider services
once those are established.
With this CL, it only binds services when there is a non-empty
discovery preference set by a foreground app or an app is casting.
This change may break output switcher, which enables transfer media
of background apps.
To alleviate that MediaRouter2Manager#startScan and #stopScan are added
so that system UI can force the service bind to the services and find
remote devices to cast.
Bug: 169575701
Bug: 172920557
Test: manually and CTS
Change-Id: I4a47fdb1c9fe05a04d26950485833c9cbfb91a69
(cherry picked from commit 9f889ca4e62044900004cb7ce4e85415d2b019e2)
(cherry picked from commit 602b168f99b00c037191234a85190d845680aa64)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions