Show an error message when the remote side cancels the authentication
and show OPP device list correctly. Dr No: Eastham Bug: 2174874
This commit is contained in:
@@ -323,12 +323,10 @@ public class BluetoothSettings extends PreferenceActivity
|
||||
|
||||
switch(mFilterType) {
|
||||
case BluetoothDevicePicker.FILTER_TYPE_TRANSFER:
|
||||
if (uuids != null) {
|
||||
if (uuids != null)
|
||||
if (BluetoothUuid.containsAnyUuid(uuids,
|
||||
LocalBluetoothProfileManager.OPP_PROFILE_UUIDS)) return true;
|
||||
} else {
|
||||
if (bluetoothClass.doesClassMatch(BluetoothClass.PROFILE_OPP)) return true;
|
||||
}
|
||||
if (bluetoothClass.doesClassMatch(BluetoothClass.PROFILE_OPP)) return true;
|
||||
break;
|
||||
case BluetoothDevicePicker.FILTER_TYPE_AUDIO:
|
||||
if (uuids != null) {
|
||||
|
Reference in New Issue
Block a user