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

Commit 385ff54a authored by Yuyang Huang's avatar Yuyang Huang
Browse files

add GMAP profile and UUID

Bug: 350102910
Test: m packages/modules/Bluetooth
Flag: exempt, comment change
Change-Id: Ie0e797f7dcfcfec6a44ff5034af648ef33dc13e6
parent 96501df4
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -237,13 +237,20 @@ public interface BluetoothProfile {
     */
    int BATTERY = 30;

    /**
     * Gaming Audio Profile
     *
     * @hide
     */
    int GMAP = 31;

    /**
     * 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 = 30;
    int MAX_PROFILE_ID = 31;

    /**
     * Default priority for devices that we try to auto-connect to and allow incoming connections
+9 −0
Original line number Diff line number Diff line
@@ -302,6 +302,15 @@ public final class BluetoothUuid {
    public static final ParcelUuid GENERIC_MEDIA_CONTROL =
            ParcelUuid.fromString("00001849-0000-1000-8000-00805F9B34FB");

    /**
     * UUID corresponding to the Gaming Audio Profile (GMAP).
     *
     * @hide
     */
    @NonNull
    public static final ParcelUuid GMAP =
            ParcelUuid.fromString("00001858-0000-1000-8000-00805F9B34FB");

    /**
     * UUID corresponding to the Media Control Service.
     *