Merge "Update Bluetooth api" am: ff44a78145 am: 027a9244f1

Change-Id: I20311badde6c4335d407be7724d35bb7a6a95591
This commit is contained in:
Automerger Merge Worker
2019-12-13 00:56:18 +00:00

View File

@@ -143,7 +143,8 @@ public class BluetoothDetailsProfilesControllerTest extends BluetoothDetailsCont
@Override
public int getPreferred(BluetoothDevice device) {
return isPreferred(device) ?
BluetoothProfile.PRIORITY_ON : BluetoothProfile.PRIORITY_OFF;
BluetoothProfile.CONNECTION_POLICY_ALLOWED
: BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
}
@Override