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

Commit 5ed82cd9 authored by Johanna Ye's avatar Johanna Ye Committed by Automerger Merge Worker
Browse files

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

Merge "Comment clarification and minor cleanup in HidHostService." am: 04e57959 am: 7f466a9b am: 0dd2b15e

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

Change-Id: I00e72b865ba1124b8c24eeaece1bf186f53fbaa7
parents 28851210 0dd2b15e
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -484,7 +484,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());
@@ -615,8 +615,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) {