diff options
| author | 2022-01-05 23:04:04 +0100 | |
|---|---|---|
| committer | 2022-01-05 23:04:04 +0100 | |
| commit | c201914d57634b65fc1b843607cd4feb8b34c3ec (patch) | |
| tree | 97a58773242f51d2f37b08a7379187585758f5e7 | |
| parent | b0c148971a7221f51ef394853cce026e16cbce30 (diff) | |
Bluetooth: add LE Audio COD constant definition
Tag: #feature
Test: compilation
Bug: 150670922
Change-Id: Ic68cd1e9ce4f10d7c2388eeeabe67acad5e555ea
| -rw-r--r-- | core/api/current.txt | 1 | ||||
| -rwxr-xr-x | core/java/android/bluetooth/BluetoothClass.java | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/core/api/current.txt b/core/api/current.txt index b42d6aaf9386..7a0ca9442aae 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -9016,6 +9016,7 @@ package android.bluetooth { field public static final int AUDIO = 2097152; // 0x200000 field public static final int CAPTURE = 524288; // 0x80000 field public static final int INFORMATION = 8388608; // 0x800000 + field public static final int LE_AUDIO = 16384; // 0x4000 field public static final int LIMITED_DISCOVERABILITY = 8192; // 0x2000 field public static final int NETWORKING = 131072; // 0x20000 field public static final int OBJECT_TRANSFER = 1048576; // 0x100000 diff --git a/core/java/android/bluetooth/BluetoothClass.java b/core/java/android/bluetooth/BluetoothClass.java index 7fe18a0704ba..8535b4fd2839 100755 --- a/core/java/android/bluetooth/BluetoothClass.java +++ b/core/java/android/bluetooth/BluetoothClass.java @@ -119,6 +119,7 @@ public final class BluetoothClass implements Parcelable { private static final int BITMASK = 0xFFE000; public static final int LIMITED_DISCOVERABILITY = 0x002000; + public static final int LE_AUDIO = 0x004000; public static final int POSITIONING = 0x010000; public static final int NETWORKING = 0x020000; public static final int RENDER = 0x040000; |