Merge "Update Bluetooth api"
am: ff44a78145
Change-Id: Id8301ae1027dfcd5512d2a1ad8c59fd2886abc81
This commit is contained in:
@@ -143,7 +143,8 @@ public class BluetoothDetailsProfilesControllerTest extends BluetoothDetailsCont
|
|||||||
@Override
|
@Override
|
||||||
public int getPreferred(BluetoothDevice device) {
|
public int getPreferred(BluetoothDevice device) {
|
||||||
return isPreferred(device) ?
|
return isPreferred(device) ?
|
||||||
BluetoothProfile.PRIORITY_ON : BluetoothProfile.PRIORITY_OFF;
|
BluetoothProfile.CONNECTION_POLICY_ALLOWED
|
||||||
|
: BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user