summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorKyunglyul Hyun <klhyun@google.com>2019-08-06 11:17:16 +0900
committerKyunglyul Hyun <klhyun@google.com>2019-08-22 17:25:07 +0900
commit23b3aaa464f78814e34b3b7b5220eccb433af6ac (patch)
treef492348456da5f79e52eafcdef843a6742fc7f97 /tools/aapt2/java/JavaClassGenerator.cpp
parent05c94cec637c7701b8b838a11f5455dc2f801de3 (diff)
Media: add MediaRouter2.getRoutes()
As with this CL, media apps can get the list of available routes using MediaRouter2.getRoutes() or MediaRouter2.Callback.onRouteListChanged(). For that MediaRouterService notifies MediaRouter2 of providerinfos. This CL also clarifies provider info notification logic. 1) When a new client or a new manager is registered, it will be notified. 2) When a provider info is updated, it will be notified. onRouteListChanged will be called for a newly registerd callback. Fixed a bug that MediaRoute2ProviderProxy didn't report state update when the provider is disonnected. Test: atest mediaroutertest Change-Id: I50f5c3cabce80e7fb0a1b5596883c35911d6f122
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions