Merge "Fix UI issue with Bluetooth Settings." into ics-mr0

This commit is contained in:
Jaikumar Ganesh
2011-10-27 16:49:39 -07:00
committed by Android (Google) Code Review

View File

@@ -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));
}