From df8015fc12c63cde6cb64caa82435f80be40ef7e Mon Sep 17 00:00:00 2001 From: Chen Chen Date: Mon, 24 Jan 2022 17:55:05 -0800 Subject: [PATCH] SpatialAudio: Add API to switch buffer size Bug: 214615268 Test: Manually test signal passing from bluetooth/system to framework Tag: #feature Change-Id: Ib1a1b1005523ca20af18dce2396d8f6bd788c197 --- core/api/system-current.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/api/system-current.txt b/core/api/system-current.txt index 8d5cd3128e952..6d00909e4499d 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