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

Commit f073d270 authored by Himanshu Rawat's avatar Himanshu Rawat Committed by Android (Google) Code Review
Browse files

Merge "Don't cancel passkey entry pairing autonomously" into tm-dev

parents 34848403 d668a888
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) {