diff --git a/src/com/android/settings/bluetooth/BluetoothPermissionActivity.java b/src/com/android/settings/bluetooth/BluetoothPermissionActivity.java index de8902a8ffa..19339cd60ec 100644 --- a/src/com/android/settings/bluetooth/BluetoothPermissionActivity.java +++ b/src/com/android/settings/bluetooth/BluetoothPermissionActivity.java @@ -199,20 +199,7 @@ public class BluetoothPermissionActivity extends AlertActivity implements private void onNegative() { if (DEBUG) Log.d(TAG, "onNegative"); - - boolean always = true; - if (mRequestType == BluetoothDevice.REQUEST_TYPE_MESSAGE_ACCESS) { - LocalBluetoothManager bluetoothManager = Utils.getLocalBtManager(this); - CachedBluetoothDeviceManager cachedDeviceManager = - bluetoothManager.getCachedDeviceManager(); - CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice); - if (cachedDevice == null) { - cachedDevice = cachedDeviceManager.addDevice(mDevice); - } - always = cachedDevice.checkAndIncreaseMessageRejectionCount(); - } - - sendReplyIntentToReceiver(false, always); + sendReplyIntentToReceiver(false, true); } private void sendReplyIntentToReceiver(final boolean allowed, final boolean always) {