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

Commit cab2b2c4 authored by Ben Murdoch's avatar Ben Murdoch
Browse files

Fix NPE in Bluetooth Settings.

Bug: 230347816
Test: Manual
Change-Id: I210ce81217466897c59509a31fb53d57eed71118
parent 5d218d9f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -479,7 +479,7 @@ public class BluetoothDetailsProfilesController extends BluetoothDetailsControll
    @Override
    protected void refresh() {
        for (LocalBluetoothProfile profile : getProfiles()) {
            if (profile != null && !profile.isProfileReady()) {
            if (profile == null || !profile.isProfileReady()) {
                continue;
            }
            SwitchPreference pref = mProfilesContainer.findPreference(