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

Commit 16447d2a authored by Selim Gurun's avatar Selim Gurun Committed by android-build-merger
Browse files

Merge "Make Bluetooth constants used by gmscore a system api" am: a3fb7fd9 am: 271bd0ac

am: c7c43fd3

Change-Id: I1a733b7f2567ff7821436d2c331a0a0cd8276e91
parents a168f01f c7c43fd3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -618,6 +618,7 @@ public final class BluetoothDevice implements Parcelable {
     *
     * @hide
     */
    @SystemApi
    public static final int ACCESS_UNKNOWN = 0;

    /**
@@ -626,6 +627,7 @@ public final class BluetoothDevice implements Parcelable {
     *
     * @hide
     */
    @SystemApi
    public static final int ACCESS_ALLOWED = 1;

    /**
@@ -634,6 +636,7 @@ public final class BluetoothDevice implements Parcelable {
     *
     * @hide
     */
    @SystemApi
    public static final int ACCESS_REJECTED = 2;

    /**
+2 −2
Original line number Diff line number Diff line
@@ -556,8 +556,8 @@ public final class BluetoothHeadset implements BluetoothProfile {
     * Set priority of the profile
     *
     * <p> The device should already be paired.
     * Priority can be one of {@link #PRIORITY_ON} or
     * {@link #PRIORITY_OFF},
     * Priority can be one of {@link BluetoothProfile#PRIORITY_ON} or
     * {@link BluetoothProfile#PRIORITY_OFF},
     *
     * <p>Requires {@link android.Manifest.permission#BLUETOOTH_ADMIN}
     * permission.
+3 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ package android.bluetooth;

import android.Manifest;
import android.annotation.RequiresPermission;
import android.annotation.SystemApi;

import java.util.List;

@@ -185,6 +186,7 @@ public interface BluetoothProfile {
     *
     * @hide
     **/
    @SystemApi
    public static final int PRIORITY_ON = 100;

    /**
@@ -193,6 +195,7 @@ public interface BluetoothProfile {
     *
     * @hide
     **/
    @SystemApi
    public static final int PRIORITY_OFF = 0;

    /**