summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2015-12-18 23:07:05 +0000
committerandroid-build-merger <android-build-merger@google.com>2015-12-18 23:07:05 +0000
commitc88e96d90674d9b19e8bc904efc05bd64a268853 (patch)
tree0c5203069ba66da0131db98f7e0a3e8abc60f63d
parent14675b24f4c1bf1800ecd243a71fcdd96c9818af (diff)
parent0a9659da81c1367bf40a8340ecdff4227f88203b (diff)
downloadandroid_packages_apps_Bluetooth-c88e96d90674d9b19e8bc904efc05bd64a268853.tar.gz
android_packages_apps_Bluetooth-c88e96d90674d9b19e8bc904efc05bd64a268853.tar.bz2
android_packages_apps_Bluetooth-c88e96d90674d9b19e8bc904efc05bd64a268853.zip
Map Bluetooth profiles correctly in isProfileDisabled helper function.
am: 0a9659da81 * commit '0a9659da81c1367bf40a8340ecdff4227f88203b': Map Bluetooth profiles correctly in isProfileDisabled helper function.
-rw-r--r--src/com/android/bluetooth/btservice/Config.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/bluetooth/btservice/Config.java b/src/com/android/bluetooth/btservice/Config.java
index d176d782c..0fc47181c 100644
--- a/src/com/android/bluetooth/btservice/Config.java
+++ b/src/com/android/bluetooth/btservice/Config.java
@@ -117,9 +117,9 @@ public class Config {
} else if (profile == A2dpSinkService.class) {
profileIndex = BluetoothProfile.A2DP_SINK;
} else if (profile == HidService.class) {
- profileIndex = BluetoothProfile.HID;
+ profileIndex = BluetoothProfile.INPUT_DEVICE;
} else if (profile == HealthService.class) {
- profileIndex = BluetoothProfile.HDP;
+ profileIndex = BluetoothProfile.HEALTH;
} else if (profile == PanService.class) {
profileIndex = BluetoothProfile.PAN;
} else if (profile == GattService.class) {