Fix UI checkbox issue while disabling "Phone Audio" in Blueotooth Settings.

Bug: 18048121
Change-Id: If837a58a4840be3d5b9f3cc16ecb261d9ab4420a
This commit is contained in:
Sanket Padawe
2015-06-02 11:13:01 -07:00
parent ef1d4b66ab
commit 8a7472b594

View File

@@ -275,9 +275,9 @@ public final class DeviceProfilesSettings extends SettingsPreferenceFragment
profile.setPreferred(device.getDevice(), false);
if (profile instanceof MapProfile) {
device.setMessagePermissionChoice(BluetoothDevice.ACCESS_REJECTED);
refreshProfilePreference(
(CheckBoxPreference)findPreference(profile.toString()), profile);
}
refreshProfilePreference(
(CheckBoxPreference)findPreference(profile.toString()), profile);
}
};