Loading android/app/src/com/android/bluetooth/avrcp/AddressedMediaPlayer.java +3 −1 Original line number Diff line number Diff line Loading @@ -133,7 +133,9 @@ public class AddressedMediaPlayer { } mNowPlayingList = items; // TODO (jamuraa): test to see if the single-item queue is the same and don't send if (mMediaInterface != null) { mMediaInterface.nowPlayingChangedRsp(AvrcpConstants.NOTIFICATION_TYPE_CHANGED); } return items; } Loading android/app/src/com/android/bluetooth/avrcp/Avrcp.java +3 −5 Original line number Diff line number Diff line Loading @@ -292,7 +292,7 @@ public final class Avrcp { context.registerReceiver(mBootReceiver, bootFilter); } private void start() { private synchronized void start() { HandlerThread thread = new HandlerThread("BluetoothAvrcpHandler"); thread.start(); Looper looper = thread.getLooper(); Loading Loading @@ -334,11 +334,9 @@ public final class Avrcp { return ar; } public void doQuit() { public synchronized void doQuit() { if (DEBUG) Log.d(TAG, "doQuit"); synchronized (this) { if (mMediaController != null) mMediaController.unregisterCallback(mMediaControllerCb); } if (mMediaSessionManager != null) { mMediaSessionManager.setCallback(null, null); mMediaSessionManager.removeOnActiveSessionsChangedListener(mActiveSessionListener); Loading Loading
android/app/src/com/android/bluetooth/avrcp/AddressedMediaPlayer.java +3 −1 Original line number Diff line number Diff line Loading @@ -133,7 +133,9 @@ public class AddressedMediaPlayer { } mNowPlayingList = items; // TODO (jamuraa): test to see if the single-item queue is the same and don't send if (mMediaInterface != null) { mMediaInterface.nowPlayingChangedRsp(AvrcpConstants.NOTIFICATION_TYPE_CHANGED); } return items; } Loading
android/app/src/com/android/bluetooth/avrcp/Avrcp.java +3 −5 Original line number Diff line number Diff line Loading @@ -292,7 +292,7 @@ public final class Avrcp { context.registerReceiver(mBootReceiver, bootFilter); } private void start() { private synchronized void start() { HandlerThread thread = new HandlerThread("BluetoothAvrcpHandler"); thread.start(); Looper looper = thread.getLooper(); Loading Loading @@ -334,11 +334,9 @@ public final class Avrcp { return ar; } public void doQuit() { public synchronized void doQuit() { if (DEBUG) Log.d(TAG, "doQuit"); synchronized (this) { if (mMediaController != null) mMediaController.unregisterCallback(mMediaControllerCb); } if (mMediaSessionManager != null) { mMediaSessionManager.setCallback(null, null); mMediaSessionManager.removeOnActiveSessionsChangedListener(mActiveSessionListener); Loading