Loading services/core/java/com/android/server/media/MediaRouterService.java +2 −3 Original line number Diff line number Diff line Loading @@ -100,6 +100,7 @@ public final class MediaRouterService extends IMediaRouterService.Stub // State guarded by mLock. private final Object mLock = new Object(); private final SparseArray<UserRecord> mUserRecords = new SparseArray<>(); private final ArrayMap<IBinder, ClientRecord> mAllClientRecords = new ArrayMap<>(); private int mCurrentUserId = -1; Loading Loading @@ -345,9 +346,7 @@ public final class MediaRouterService extends IMediaRouterService.Stub final long token = Binder.clearCallingIdentity(); try { synchronized (mLock) { mAudioService.setBluetoothA2dpOn(on); } } catch (RemoteException ex) { Slog.w(TAG, "RemoteException while calling setBluetoothA2dpOn. on=" + on); } finally { Loading Loading
services/core/java/com/android/server/media/MediaRouterService.java +2 −3 Original line number Diff line number Diff line Loading @@ -100,6 +100,7 @@ public final class MediaRouterService extends IMediaRouterService.Stub // State guarded by mLock. private final Object mLock = new Object(); private final SparseArray<UserRecord> mUserRecords = new SparseArray<>(); private final ArrayMap<IBinder, ClientRecord> mAllClientRecords = new ArrayMap<>(); private int mCurrentUserId = -1; Loading Loading @@ -345,9 +346,7 @@ public final class MediaRouterService extends IMediaRouterService.Stub final long token = Binder.clearCallingIdentity(); try { synchronized (mLock) { mAudioService.setBluetoothA2dpOn(on); } } catch (RemoteException ex) { Slog.w(TAG, "RemoteException while calling setBluetoothA2dpOn. on=" + on); } finally { Loading