summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothStatusCodes.java
diff options
context:
space:
mode:
authorMd Shahriar Hossain Sajib <sajibonly@google.com>2022-01-19 15:37:26 +0800
committerMd Shahriar Hossain Sajib <sajibonly@google.com>2022-01-26 15:28:58 +0800
commit7901c0054a82a05df5b9d8a1720b15e8b0410755 (patch)
treebf65e15acbea362b5b00f285f258767b24da532b /framework/java/android/bluetooth/BluetoothStatusCodes.java
parent8011a3737d5ec40d23ae967167a3c2c35eaa3c27 (diff)
[framework] Migration of hidden APIs to System APIs
Bug: 199827901 Tag: #compatibility Test: IOP, BCST, GTS Change-Id: Ib0a205bc575e4cc3cf97eac539cd303acd878134
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothStatusCodes.java')
-rw-r--r--framework/java/android/bluetooth/BluetoothStatusCodes.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/framework/java/android/bluetooth/BluetoothStatusCodes.java b/framework/java/android/bluetooth/BluetoothStatusCodes.java
index a8ce4b4118..b1aa27decb 100644
--- a/framework/java/android/bluetooth/BluetoothStatusCodes.java
+++ b/framework/java/android/bluetooth/BluetoothStatusCodes.java
@@ -143,6 +143,22 @@ public final class BluetoothStatusCodes {
public static final int ERROR_GATT_WRITE_REQUEST_BUSY = 201;
/**
+ * Indicates that the operation is allowed.
+ *
+ * @hide
+ */
+ @SystemApi
+ public static final int ALLOWED = 400;
+
+ /**
+ * Indicates that the operation is not allowed.
+ *
+ * @hide
+ */
+ @SystemApi
+ public static final int NOT_ALLOWED = 401;
+
+ /**
* If another application has already requested {@link OobData} then another fetch will be
* disallowed until the callback is removed.
*