Merge "Update Bluetooth api"

This commit is contained in:
Treehugger Robot
2019-12-13 00:25:13 +00:00
committed by Gerrit Code Review

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