diff options
author | Bryce Lee <brycelee@google.com> | 2015-12-18 11:33:47 -0800 |
---|---|---|
committer | Bryce Lee <brycelee@google.com> | 2015-12-18 11:33:47 -0800 |
commit | 0a9659da81c1367bf40a8340ecdff4227f88203b (patch) | |
tree | 086edd271d204e36b3264be216f2d900ee0ed0f0 | |
parent | 3602a64c6bbe46775cba67f064af39c89d888c5c (diff) | |
download | android_packages_apps_Bluetooth-0a9659da81c1367bf40a8340ecdff4227f88203b.tar.gz android_packages_apps_Bluetooth-0a9659da81c1367bf40a8340ecdff4227f88203b.tar.bz2 android_packages_apps_Bluetooth-0a9659da81c1367bf40a8340ecdff4227f88203b.zip |
Map Bluetooth profiles correctly in isProfileDisabled helper function.
Change-Id: Ic38736a653e6413f1f3bb41c8dfe049abe8883f0
-rw-r--r-- | src/com/android/bluetooth/btservice/Config.java | 4 |
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) { |