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

Commit 30dcdef1 authored by Ariel Gertzenstein's avatar Ariel Gertzenstein Committed by Android Git Automerger
Browse files

am 98e09724: am 873ca6ea: am f64536bb: am 09e6426d: am 0c03f962: Set...

am 98e09724: am 873ca6ea: am f64536bb: am 09e6426d: am 0c03f962: Set FLAG_RECEIVER_FOREGROUND when broadcasting   ACTION_PAIRING_REQUEST.

* commit '98e09724':
  Set FLAG_RECEIVER_FOREGROUND when broadcasting   ACTION_PAIRING_REQUEST.
parents da4e18e6 98e09724
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line 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_KEY, pin);
        }
        }
        intent.putExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, variant);
        intent.putExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, variant);
        intent.setFlags(Intent.FLAG_RECEIVER_FOREGROUND);
        mAdapterService.sendOrderedBroadcast(intent, mAdapterService.BLUETOOTH_ADMIN_PERM);
        mAdapterService.sendOrderedBroadcast(intent, mAdapterService.BLUETOOTH_ADMIN_PERM);
    }
    }