Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c6a0044 authored by Himanshu Rawat's avatar Himanshu Rawat Committed by Automerger Merge Worker
Browse files

Merge "Don't cancel passkey entry pairing autonomously" am: 059ab284

parents 5781b7ab 059ab284
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -86,10 +86,14 @@ public class BluetoothPairingDialogFragment extends InstrumentedDialogFragment i
    @Override
    public void onDestroy() {
        super.onDestroy();
        if (mPairingController.getDialogType()
                != BluetoothPairingController.DISPLAY_PASSKEY_DIALOG) {
            /* Cancel pairing unless explicitly accepted by user */
            if (!mPositiveClicked) {
                mPairingController.onCancel();
            }
        }
    }

    @Override
    public void beforeTextChanged(CharSequence s, int start, int count, int after) {