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:
Jaikumar Ganesh
2009-10-08 08:06:27 -07:00
parent d1a04291c5
commit c065348eba
2 changed files with 3 additions and 4 deletions

View File

@@ -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) {