[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277
Change-Id: If9cb4de9ab510f1ddfff44a404a0a248cf9103dc
This commit is contained in:
@@ -121,7 +121,7 @@ public final class HidProfile implements LocalBluetoothProfile {
|
|||||||
|
|
||||||
public boolean isPreferred(BluetoothDevice device) {
|
public boolean isPreferred(BluetoothDevice device) {
|
||||||
if (mService == null) return false;
|
if (mService == null) return false;
|
||||||
return mService.getPriority(device) > BluetoothProfile.PRIORITY_OFF;
|
return mService.getPriority(device) != BluetoothProfile.PRIORITY_OFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getPreferred(BluetoothDevice device) {
|
public int getPreferred(BluetoothDevice device) {
|
||||||
|
|||||||
Reference in New Issue
Block a user