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

Commit a95053bd authored by Gaurav Asati's avatar Gaurav Asati Committed by Gerrit - the friendly Code Review server
Browse files

Bluetooth: Refresh UI after checkbox is Unchecked.

 - Refresh list of auto-connectible profiles when
   Checkbox is unchecked in disconnected state.

Change-Id: Iddca04cbb06262556ea7decb39279df26e358eb6
CRs-Fixed: 758480
parent 37736b0e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -278,6 +278,7 @@ public final class DeviceProfilesSettings extends SettingsPreferenceFragment
                if (which == OK_BUTTON) {
                    device.disconnect(profile);
                    profile.setPreferred(device.getDevice(), false);
                    refreshProfiles();
                    if (profile instanceof MapProfile) {
                        device.setMessagePermissionChoice(BluetoothDevice.ACCESS_REJECTED);
                        refreshProfilePreference(