Skip to content
Commit 4140fee0 authored by Hyundo Moon's avatar Hyundo Moon
Browse files

Add MediaRouter2#requestSelectRoute and related logics

Added following logics
 - MediaRouter2 does not select the route anymore, but 'requests'
   to the MediaRouter2Service.
 - The request is sent to the MediaRoute2ProviderService.
 - If the provider send the control hints, the route is now
   'selected'. (The method for sending hints is not included in this CL)
 - If the provider didn't send the control hints in timeout,
   the selection request is cancelled.

Tests for this CL will be added when we introduce a new method
MediaRoute2ProviderService#sendControlHints()
(method name is not final).

Test: Builds successfully
Change-Id: I5aafcc29f9d39a88bac05b8e8ebae1280ef1f8fc
parent a3eb4278
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment