summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chen Chen <cncn@google.com> 2022-01-24 17:55:05 -0800
committer Chen Chen <cncn@google.com> 2022-01-25 07:41:19 +0000
commitdf8015fc12c63cde6cb64caa82435f80be40ef7e (patch)
tree17b5278acda396e7fe33ca1360da09dac9ad5853
parent423e45e117b85ee82cfd87c4d4958502a3c3fd56 (diff)
SpatialAudio: Add API to switch buffer size
Bug: 214615268 Test: Manually test signal passing from bluetooth/system to framework Tag: #feature Change-Id: Ib1a1b1005523ca20af18dce2396d8f6bd788c197
-rw-r--r--core/api/system-current.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/api/system-current.txt b/core/api/system-current.txt
index 8d5cd3128e95..6d00909e4499 100644
--- a/core/api/system-current.txt
+++ b/core/api/system-current.txt
@@ -2027,9 +2027,11 @@ package android.bluetooth {
field public static final int ACCESS_REJECTED = 2; // 0x2
field public static final int ACCESS_UNKNOWN = 0; // 0x0
field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final String ACTION_SILENCE_MODE_CHANGED = "android.bluetooth.device.action.SILENCE_MODE_CHANGED";
+ field @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public static final String ACTION_SWITCH_BUFFER_SIZE = "android.bluetooth.device.action.SWITCH_BUFFER_SIZE";
field public static final String DEVICE_TYPE_DEFAULT = "Default";
field public static final String DEVICE_TYPE_UNTETHERED_HEADSET = "Untethered Headset";
field public static final String DEVICE_TYPE_WATCH = "Watch";
+ field public static final String EXTRA_LOW_LATENCY_BUFFER_SIZE = "android.bluetooth.device.extra.LOW_LATENCY_BUFFER_SIZE";
field public static final int METADATA_COMPANION_APP = 4; // 0x4
field public static final int METADATA_DEVICE_TYPE = 17; // 0x11
field public static final int METADATA_ENHANCED_SETTINGS_UI_URI = 16; // 0x10