From 8a7472b59444ba582d54c41b001c422db486d7a9 Mon Sep 17 00:00:00 2001 From: Sanket Padawe Date: Tue, 2 Jun 2015 11:13:01 -0700 Subject: [PATCH] Fix UI checkbox issue while disabling "Phone Audio" in Blueotooth Settings. Bug: 18048121 Change-Id: If837a58a4840be3d5b9f3cc16ecb261d9ab4420a --- .../android/settings/bluetooth/DeviceProfilesSettings.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/android/settings/bluetooth/DeviceProfilesSettings.java b/src/com/android/settings/bluetooth/DeviceProfilesSettings.java index 1df6275f2a3..7161929ecab 100755 --- a/src/com/android/settings/bluetooth/DeviceProfilesSettings.java +++ b/src/com/android/settings/bluetooth/DeviceProfilesSettings.java @@ -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); } };