diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2022-01-26 18:31:29 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2022-01-26 18:31:29 +0000 |
commit | 4d912eeccb643ac13016a5999b6bca6349052e5b (patch) | |
tree | 9d9f5cddb5e482c93a8ba95a7714063e566374db /framework/java/android/bluetooth/BluetoothStatusCodes.java | |
parent | 107c63332943ef14d61e269e9153193b54132349 (diff) | |
parent | 7901c0054a82a05df5b9d8a1720b15e8b0410755 (diff) |
Merge changes from topic "wear_bt_mig"
* changes:
[framework] Migration of hidden APIs to System APIs
[service] Migration of APIs permission changes
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothStatusCodes.java')
-rw-r--r-- | framework/java/android/bluetooth/BluetoothStatusCodes.java | 16 |
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. * |