Skip to content
Commit df7b8381 authored by hughchen's avatar hughchen
Browse files

Use media framework api to get bluetooth device list

This CL include following change:

- This CL before use LocalBluetoothManager to get
  bluetooth device list.
  This CL use new MediaRouter2Manager api (getAllRoutes() and
  getAvailableRoutes()) to get bluetooth device list.
- Use RoutingController() to transfer media for bluetooth
  device and phone device when they don't have package name.
- Add test case.

Also make bluetooth device can be transferred through
MediaRouter2Manager.

Bug: 148765806
Test: make -j42 RunSettingsLibRoboTests
Change-Id: I6d960b1b02740264d7ba2cc77c842c08cf61e86c
parent 06a09a93
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