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

Commit 9a530c37 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix setFlags/addFlags typo"

parents c37a9f8e 117ee66c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -324,7 +324,8 @@ final class BondStateMachine extends StateMachine {
        }
        intent.putExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, variant);
        intent.setFlags(Intent.FLAG_RECEIVER_FOREGROUND);
        intent.setFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND);
        // Workaround for Android Auto until pre-accepting pairing requests is added.
        intent.addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND);
        mAdapterService.sendOrderedBroadcast(intent, mAdapterService.BLUETOOTH_ADMIN_PERM);
    }