Merge "MediaRouter: Set initial mIsBluetoothA2dpOn value" into sc-dev am: 05186726af am: fb29f15438
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14819336 Change-Id: Ieb65b8faca6a2d0d5e0b937178301fac63c27efe
This commit is contained in:
@@ -185,6 +185,7 @@ public class MediaRouter {
|
|||||||
|
|
||||||
AudioRoutesInfo newAudioRoutes = null;
|
AudioRoutesInfo newAudioRoutes = null;
|
||||||
try {
|
try {
|
||||||
|
mIsBluetoothA2dpOn = mAudioService.isBluetoothA2dpOn();
|
||||||
newAudioRoutes = mAudioService.startWatchingRoutes(mAudioRoutesObserver);
|
newAudioRoutes = mAudioService.startWatchingRoutes(mAudioRoutesObserver);
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user