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

Commit 06c8aff8 authored by Ariel Gertzenstein's avatar Ariel Gertzenstein Committed by Android Git Automerger
Browse files

am 0c03f962: Set FLAG_RECEIVER_FOREGROUND when broadcasting ACTION_PAIRING_REQUEST.

* commit '0c03f962':
  Set FLAG_RECEIVER_FOREGROUND when broadcasting   ACTION_PAIRING_REQUEST.
parents 2ec8dc1e 0c03f962
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -298,6 +298,7 @@ final class BondStateMachine extends StateMachine {
            intent.putExtra(BluetoothDevice.EXTRA_PAIRING_KEY, pin);
        }
        intent.putExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, variant);
        intent.setFlags(Intent.FLAG_RECEIVER_FOREGROUND);
        mAdapterService.sendOrderedBroadcast(intent, mAdapterService.BLUETOOTH_ADMIN_PERM);
    }