Skip to content
Commit 67c41fdd authored by Hyundo Moon's avatar Hyundo Moon
Browse files

MediaRouter2: Add getDefaultController()

The controller which can control the system routes (phone speaker,
bluetooth, etc) is returned by this new method.

This CL makes the default controller can know the current system route,
and make SessionCallback#onSessionInfoChanged() be called when
the current system route is changed.

Note that selecting route (BT / speaker) via this controller is not
yet supported by this CL.

Bug: 147937954
Test: atest mediaroutertest
      Also, manually checked logs by connecting bluetooth device.
Change-Id: I8c6254855f8121d1d2331959224fe7237affa1e2
parent 4b083362
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