OSDN Git Service
(root)
/
android-x86
/
packages-apps-Bluetooth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3602a64
)
Map Bluetooth profiles correctly in isProfileDisabled helper function.
author
Bryce Lee
<brycelee@google.com>
Fri, 18 Dec 2015 19:33:47 +0000
(11:33 -0800)
committer
Bryce Lee
<brycelee@google.com>
Fri, 18 Dec 2015 19:33:47 +0000
(11:33 -0800)
Change-Id: Ic38736a653e6413f1f3bb41c8dfe049abe8883f0
src/com/android/bluetooth/btservice/Config.java
patch
|
blob
|
history
diff --git
a/src/com/android/bluetooth/btservice/Config.java
b/src/com/android/bluetooth/btservice/Config.java
index
d176d78
..
0fc4718
100644
(file)
--- 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.H
DP
;
+ profileIndex = BluetoothProfile.H
EALTH
;
} else if (profile == PanService.class) {
profileIndex = BluetoothProfile.PAN;
} else if (profile == GattService.class) {