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

Commit e6bf1538 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role)
Browse files

[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f2...

[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f2 am: 9ac58f09 am: 181fb5b9

Change-Id: Iba55914648e687faaf01bc961c34efbdb72d6569
parents a2843201 181fb5b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ public final class HidProfile implements LocalBluetoothProfile {

    public boolean isPreferred(BluetoothDevice device) {
        if (mService == null) return false;
        return mService.getPriority(device) > BluetoothProfile.PRIORITY_OFF;
        return mService.getPriority(device) != BluetoothProfile.PRIORITY_OFF;
    }

    public int getPreferred(BluetoothDevice device) {