diff --git a/src/com/android/settings/bluetooth/BluetoothPairingDialogFragment.java b/src/com/android/settings/bluetooth/BluetoothPairingDialogFragment.java index 9e3624732d0..14b4a7a5a7e 100644 --- a/src/com/android/settings/bluetooth/BluetoothPairingDialogFragment.java +++ b/src/com/android/settings/bluetooth/BluetoothPairingDialogFragment.java @@ -82,6 +82,12 @@ public class BluetoothPairingDialogFragment extends InstrumentedDialogFragment i return mDialog; } + @Override + public void onDestroy() { + super.onDestroy(); + mPairingController.onCancel(); + } + @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { }