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

@@ -216,6 +216,7 @@ public class CachedBluetoothDeviceManager {
case BluetoothDevice.UNBOND_REASON_DISCOVERY_IN_PROGRESS:
case BluetoothDevice.UNBOND_REASON_AUTH_TIMEOUT:
case BluetoothDevice.UNBOND_REASON_REPEATED_ATTEMPTS:
case BluetoothDevice.UNBOND_REASON_REMOTE_AUTH_CANCELED:
errorMsg = R.string.bluetooth_pairing_error_message;
mLocalManager.showError(device, R.string.bluetooth_error_title, errorMsg);
break;