Loading android/app/src/com/android/bluetooth/hid/HidHostService.java +1 −3 Original line number Diff line number Diff line Loading @@ -493,7 +493,7 @@ public class HidHostService extends ProfileService { * Connects the hid host profile for the passed in device * * @param device is the device with which to connect the hid host profile * @return true if connection is successful, false otherwise * @return true if connection request is passed down to mHandler. */ public boolean connect(BluetoothDevice device) { if (DBG) Log.d(TAG, "connect: " + device.getAddress()); Loading Loading @@ -624,8 +624,6 @@ public class HidHostService extends ProfileService { Message msg = mHandler.obtainMessage(MESSAGE_GET_PROTOCOL_MODE, device); mHandler.sendMessage(msg); return true; /* String objectPath = getObjectPathFromAddress(device.getAddress()); return getProtocolModeInputDeviceNative(objectPath);*/ } boolean virtualUnplug(BluetoothDevice device) { Loading Loading
android/app/src/com/android/bluetooth/hid/HidHostService.java +1 −3 Original line number Diff line number Diff line Loading @@ -493,7 +493,7 @@ public class HidHostService extends ProfileService { * Connects the hid host profile for the passed in device * * @param device is the device with which to connect the hid host profile * @return true if connection is successful, false otherwise * @return true if connection request is passed down to mHandler. */ public boolean connect(BluetoothDevice device) { if (DBG) Log.d(TAG, "connect: " + device.getAddress()); Loading Loading @@ -624,8 +624,6 @@ public class HidHostService extends ProfileService { Message msg = mHandler.obtainMessage(MESSAGE_GET_PROTOCOL_MODE, device); mHandler.sendMessage(msg); return true; /* String objectPath = getObjectPathFromAddress(device.getAddress()); return getProtocolModeInputDeviceNative(objectPath);*/ } boolean virtualUnplug(BluetoothDevice device) { Loading