diff options
author | Kyunglyul Hyun <klhyun@google.com> | 2020-04-29 22:40:59 +0900 |
---|---|---|
committer | Kyunglyul Hyun <klhyun@google.com> | 2020-05-06 17:44:34 +0900 |
commit | e2dbbf79f97921a6bb9b2e4af13070b79d949f35 (patch) | |
tree | c5c3cee5365a3b792724797d38bb3f97323b01c7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | aa795a68a181a6e20b8c2a73d58b7e523bf6de18 (diff) |
Introduce APIs to deal with RCN case
This CL does following:
- MR2Manager#getRoutingSessionForMediaController is added
- MR2Manager#getAvailableRoutesForRoutingSession is added
- Add a workaround for provider to provide a routing session
not requested by the user (RCN case)
Using the added methods, we exepect System UI to implement UX easily.
Bug: 154780833
Bug: 152582294
Test: It is tested manually with two demo APKs. MediaRoute2ProviderDemo
app is updated to enable the user to create a routing session w/o
MediaRouter2 clients and Sample Output Switcher is updated to use the
new APIs. With updated APKs, transfer from cast to cast (Variable
Volume1 -> Variable Volume2) is enabled.
Change-Id: I03c261c1779725f43933bacad429e1a22f602818
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions