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
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user