Set new PBAP connections to always allow.

Bug: 13886947
Change-Id: I6ec612b803433db90992f5e4d1bac26311d90a84
This commit is contained in:
PauloftheWest
2014-07-30 11:03:49 -07:00
parent 361d870e54
commit 46c70190d6

View File

@@ -539,7 +539,7 @@ final class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice> {
if (bondState == BluetoothDevice.BOND_NONE) {
mProfiles.clear();
mConnectAfterPairing = false; // cancel auto-connect
setPhonebookPermissionChoice(ACCESS_UNKNOWN);
setPhonebookPermissionChoice(ACCESS_ALLOWED);
setMessagePermissionChoice(ACCESS_UNKNOWN);
mPhonebookRejectedTimes = 0;
savePhonebookRejectTimes();