diff options
author | Sanket Padawe <sanketpadawe@google.com> | 2015-06-02 16:00:43 -0700 |
---|---|---|
committer | Sanket Padawe <sanketpadawe@google.com> | 2015-06-02 16:00:43 -0700 |
commit | 0da0573b7015f76c0fd5563bbba594ba3219f548 (patch) | |
tree | 1d70d7a5fddfa3dc3396c36da51de89a60e3547b /src/com/android/settings/bluetooth | |
parent | 0d7d927216e536ead911f4949134ca362af345ab (diff) | |
download | packages_apps_Settings-0da0573b7015f76c0fd5563bbba594ba3219f548.zip packages_apps_Settings-0da0573b7015f76c0fd5563bbba594ba3219f548.tar.gz packages_apps_Settings-0da0573b7015f76c0fd5563bbba594ba3219f548.tar.bz2 |
Fix Bluetooth device Settings checkbox issue on clicking "Input device"
Bug: 19937357
Change-Id: I6f74577a062df407e50972b84dd4e5d7d2da529b
Diffstat (limited to 'src/com/android/settings/bluetooth')
-rwxr-xr-x | src/com/android/settings/bluetooth/DeviceProfilesSettings.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/settings/bluetooth/DeviceProfilesSettings.java b/src/com/android/settings/bluetooth/DeviceProfilesSettings.java index df66a07..5dd7098 100755 --- a/src/com/android/settings/bluetooth/DeviceProfilesSettings.java +++ b/src/com/android/settings/bluetooth/DeviceProfilesSettings.java @@ -263,7 +263,6 @@ public final class DeviceProfilesSettings extends DialogFragment implements } else { if (profile instanceof MapProfile) { mCachedDevice.setMessagePermissionChoice(BluetoothDevice.ACCESS_ALLOWED); - refreshProfilePreference(profilePref, profile); } if (profile.isPreferred(device)) { // profile is preferred but not connected: disable auto-connect @@ -271,12 +270,12 @@ public final class DeviceProfilesSettings extends DialogFragment implements mCachedDevice.connectProfile(profile); } else { profile.setPreferred(device, false); - refreshProfilePreference(profilePref, profile); } } else { profile.setPreferred(device, true); mCachedDevice.connectProfile(profile); } + refreshProfilePreference(profilePref, profile); } } |