Merge "MediaRouter: Set initial mIsBluetoothA2dpOn value" into sc-dev
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