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

Commit 818797fc authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Make createBond(int) a system API"

parents 61c38511 8f988e7e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1335,7 +1335,7 @@ public final class BluetoothDevice implements Parcelable {
     * @throws IllegalArgumentException if an invalid transport was specified
     * @throws IllegalArgumentException if an invalid transport was specified
     * @hide
     * @hide
     */
     */
    @UnsupportedAppUsage
    @SystemApi
    @RequiresPermission(Manifest.permission.BLUETOOTH_ADMIN)
    @RequiresPermission(Manifest.permission.BLUETOOTH_ADMIN)
    public boolean createBond(int transport) {
    public boolean createBond(int transport) {
        return createBondInternal(transport, null, null);
        return createBondInternal(transport, null, null);