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

Commit 6bf83bd9 authored by Pranav Madapurmath's avatar Pranav Madapurmath Committed by Android (Google) Code Review
Browse files

Merge "Add NPE check on mBluetoothLeAudioService callback registration" into main

parents 4a358cfd 3f53b8ec
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -167,6 +167,12 @@ public class BluetoothDeviceManager {
                            mLocalLog.log(logString);
                            return;
                        }
                        if (mBluetoothLeAudioService == null) {
                            logString += ", but leAudio service is unavailable";
                            Log.i(BluetoothDeviceManager.this, logString);
                            mLocalLog.log(logString);
                            return;
                        }
                        try {
                            mLeAudioCallbackRegistered = true;
                            mBluetoothLeAudioService.registerCallback(