Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a317788 authored by Johanna Ye's avatar Johanna Ye Committed by Automerger Merge Worker
Browse files

Merge "Comment clarification and minor cleanup in HidHostService." am: 0e35f227 am: d6c4d654

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Bluetooth/+/1689389

Change-Id: I521f56b51c79080065ea6f61f4edce5e97713441
parents 69e71404 d6c4d654
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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());
@@ -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) {