Merge "Update Bluetooth api"

am: ff44a78145

Change-Id: Id8301ae1027dfcd5512d2a1ad8c59fd2886abc81
This commit is contained in:
hughchen
2019-12-12 16:33:45 -08:00
committed by android-build-merger

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