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

Commit 04e57959 authored by Johanna Ye's avatar Johanna Ye Committed by Gerrit Code Review
Browse files

Merge "Comment clarification and minor cleanup in HidHostService."

parents 0b7ae153 91fb4184
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) {