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

Commit a65cfa68 authored by Chienyuan's avatar Chienyuan Committed by android-build-merger
Browse files

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

[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f2 am: 9ac58f09 am: 181fb5b9 am: e6bf1538 am: 3aaf2811 am: df484ced am: 2a547afd am: b36f8802 am: 60aad1a0 am: 5f70ebf5 am: 991b628a
am: 7983c807

Change-Id: I4f215cc3a3e71bc836fc28312a41525b3bc17e8a
parents 3b0074ad 7983c807
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ public 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) {