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

Commit dcea1a5a authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge changes Icabed06e,I25bc13c6 am: 020a379b

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1683328

Change-Id: Iccb3f39a62c0f8d34e986a12ca83e3c0b430b949
parents d2613551 020a379b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -101,6 +101,9 @@ public final class BluetoothGatt implements BluetoothProfile {
    /** A read or write operation was requested with an invalid offset */
    public static final int GATT_INVALID_OFFSET = 0x7;

    /** Insufficient authorization for a given operation */
    public static final int GATT_INSUFFICIENT_AUTHORIZATION = 0x8;

    /** A write operation exceeds the maximum length of the attribute */
    public static final int GATT_INVALID_ATTRIBUTE_LENGTH = 0xd;

+8 −1
Original line number Diff line number Diff line
@@ -221,13 +221,20 @@ public interface BluetoothProfile {
    @SystemApi
    int VOLUME_CONTROL = 23;

    /**
     * @hide
     * Media Control Profile server
     *
     */
    int MCP_SERVER = 24;

    /**
     * Max profile ID. This value should be updated whenever a new profile is added to match
     * the largest value assigned to a profile.
     *
     * @hide
     */
    int MAX_PROFILE_ID = 23;
    int MAX_PROFILE_ID = 24;

    /**
     * Default priority for devices that we try to auto-connect to and
+10 −0
Original line number Diff line number Diff line
@@ -172,6 +172,16 @@ public final class BluetoothUuid {
    /** @hide */
    @NonNull
    @SystemApi
    public static final ParcelUuid GENERIC_MEDIA_CONTROL =
            ParcelUuid.fromString("00001849-0000-1000-8000-00805F9B34FB");
    /** @hide */
    @NonNull
    @SystemApi
    public static final ParcelUuid MEDIA_CONTROL =
            ParcelUuid.fromString("00001848-0000-1000-8000-00805F9B34FB");
    /** @hide */
    @NonNull
    @SystemApi
    public static final ParcelUuid BASE_UUID =
            ParcelUuid.fromString("00000000-0000-1000-8000-00805F9B34FB");