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

Commit f5754a07 authored by Jaikumar Ganesh's avatar Jaikumar Ganesh
Browse files

Fix UI issue with Bluetooth Settings.

When a profile fails to connect, the preference was getting unset.

Patch generated in conversation with Jake Hamby.

Bug: 5526404
Change-Id: I27ab8d337b6d121f8d369841d3f9a691293ef922
parent d27fa50a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -332,7 +332,7 @@ public final class DeviceProfilesSettings extends SettingsPreferenceFragment
         * Gray out checkbox while connecting and disconnecting
         */
        profilePref.setEnabled(!mCachedDevice.isBusy());
        profilePref.setChecked(mCachedDevice.isConnectedProfile(profile));
        profilePref.setChecked(profile.isPreferred(device));
        profilePref.setSummary(profile.getSummaryResourceForDevice(device));
    }