diff options
| author | 2019-07-09 07:11:47 +0000 | |
|---|---|---|
| committer | 2019-07-09 07:11:47 +0000 | |
| commit | 3aaf2811fcd583c2c9e3d10f941c69b0ce446f08 (patch) | |
| tree | 73ab07426dbc1f55fc7787e474d6b721ebabf14a | |
| parent | 14b074ddfefbed43ce5a2ec1fe3ec1ddcd7c1fb1 (diff) | |
| parent | e6bf15385562a8d51fa9dd4c3a105696b6cf5b08 (diff) | |
[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am: 9ac58f09c3 am: 181fb5b929 am: e6bf153855
Change-Id: Ieb2eab9943a3fde047fbfe947ccad105a5f7160d
| -rwxr-xr-x | packages/SettingsLib/src/com/android/settingslib/bluetooth/HidProfile.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SettingsLib/src/com/android/settingslib/bluetooth/HidProfile.java b/packages/SettingsLib/src/com/android/settingslib/bluetooth/HidProfile.java index a9e8db599177..fb6a990a29fd 100755 --- a/packages/SettingsLib/src/com/android/settingslib/bluetooth/HidProfile.java +++ b/packages/SettingsLib/src/com/android/settingslib/bluetooth/HidProfile.java @@ -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) { |