Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f0793ec1 authored by Santiago Seifert's avatar Santiago Seifert
Browse files

Remove spammy logging in LocalMediaManager

Both conditions that trigger this logging are spurious:
- getMutingExpectedDevice returning null is the norm. It will return
  non-null only when SASS is in effect.
- mBluetoothAdapter being null is already being logged elsewhere. For
  example, in buildDisconnectedBluetoothDevice.

So, no need to log neither condition. Particularly not as warnings.

Bug: b/328537710
Change-Id: I1d978a34350c1d3fef36fe275cf014b58993bac4
Test: Presubmit. Trivially safe change.
parent df7351f6
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -556,7 +556,6 @@ public class LocalMediaManager implements BluetoothCallback {
        private MediaDevice getMutingExpectedDevice() {
            if (mBluetoothAdapter == null
                    || mAudioManager.getMutingExpectedDevice() == null) {
                Log.w(TAG, "BluetoothAdapter is null or muting expected device not exist");
                return null;
            }
            final List<BluetoothDevice> bluetoothDevices =