Loading services/core/java/com/android/server/audio/AudioDeviceBroker.java +15 −16 Original line number Diff line number Diff line Loading @@ -1812,9 +1812,7 @@ public class AudioDeviceBroker { "msg: MSG_L_SET_BT_ACTIVE_DEVICE " + "received with null profile proxy: " + btInfo)).printLog(TAG)); sendMsg(MSG_CHECK_MUTE_MUSIC, SENDMSG_REPLACE, 0 /*delay*/); return; } } else { @AudioSystem.AudioFormatNativeEnumForBtCodec final int codec = mBtHelper.getCodecWithFallback(btInfo.mDevice, btInfo.mProfile, btInfo.mIsLeOutput, Loading @@ -1831,6 +1829,7 @@ public class AudioDeviceBroker { } } } } break; case MSG_BT_HEADSET_CNCT_FAILED: synchronized (mSetModeLock) { Loading services/core/java/com/android/server/audio/AudioDeviceInventory.java +1 −1 Original line number Diff line number Diff line Loading @@ -764,7 +764,7 @@ public class AudioDeviceInventory { /** only public for mocking/spying, do not call outside of AudioService */ // @GuardedBy("mDeviceBroker.mSetModeLock") @VisibleForTesting @GuardedBy("mDeviceBroker.mDeviceStateLock") //@GuardedBy("AudioDeviceBroker.this.mDeviceStateLock") public void onSetBtActiveDevice(@NonNull AudioDeviceBroker.BtDeviceInfo btInfo, @AudioSystem.AudioFormatNativeEnumForBtCodec int codec, int streamType) { Loading Loading
services/core/java/com/android/server/audio/AudioDeviceBroker.java +15 −16 Original line number Diff line number Diff line Loading @@ -1812,9 +1812,7 @@ public class AudioDeviceBroker { "msg: MSG_L_SET_BT_ACTIVE_DEVICE " + "received with null profile proxy: " + btInfo)).printLog(TAG)); sendMsg(MSG_CHECK_MUTE_MUSIC, SENDMSG_REPLACE, 0 /*delay*/); return; } } else { @AudioSystem.AudioFormatNativeEnumForBtCodec final int codec = mBtHelper.getCodecWithFallback(btInfo.mDevice, btInfo.mProfile, btInfo.mIsLeOutput, Loading @@ -1831,6 +1829,7 @@ public class AudioDeviceBroker { } } } } break; case MSG_BT_HEADSET_CNCT_FAILED: synchronized (mSetModeLock) { Loading
services/core/java/com/android/server/audio/AudioDeviceInventory.java +1 −1 Original line number Diff line number Diff line Loading @@ -764,7 +764,7 @@ public class AudioDeviceInventory { /** only public for mocking/spying, do not call outside of AudioService */ // @GuardedBy("mDeviceBroker.mSetModeLock") @VisibleForTesting @GuardedBy("mDeviceBroker.mDeviceStateLock") //@GuardedBy("AudioDeviceBroker.this.mDeviceStateLock") public void onSetBtActiveDevice(@NonNull AudioDeviceBroker.BtDeviceInfo btInfo, @AudioSystem.AudioFormatNativeEnumForBtCodec int codec, int streamType) { Loading