[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am: 9ac58f09c3 am: 181fb5b929
Change-Id: Iba55914648e687faaf01bc961c34efbdb72d6569
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user