summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Tyszkowski <jakub.tyszkowski@codecoup.pl>2022-02-09 08:16:19 +0000
committerJakub Tyszkowski <jakub.tyszkowski@codecoup.pl>2022-02-11 12:03:25 +0000
commitbc50b43d1dc005de25510a47b418d763b77a9f98 (patch)
treedcd83aa933dfdfd16e4e4d58e822f6ea3dce25eb
parentc0aa1b097d79bfa2b10097c1570bb38a5d70a08e (diff)
Fix duplicate status code
Bug: 150670922 Tag: #feature Test: compilation Sponsor: jpawlowski@ Change-Id: I866dd732ad72cbb34539ae2669acb335805324b8
-rw-r--r--framework/api/system-current.txt2
-rw-r--r--framework/java/android/bluetooth/BluetoothStatusCodes.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/api/system-current.txt b/framework/api/system-current.txt
index a03b596ee0..3ddc9b040f 100644
--- a/framework/api/system-current.txt
+++ b/framework/api/system-current.txt
@@ -512,7 +512,7 @@ package android.bluetooth {
field public static final int ERROR_LOCAL_NOT_ENOUGH_RESOURCES = 22; // 0x16
field public static final int ERROR_REMOTE_LINK_ERROR = 25; // 0x19
field public static final int ERROR_REMOTE_NOT_ENOUGH_RESOURCES = 23; // 0x17
- field public static final int ERROR_REMOTE_OPERATION_NOT_SUPPORTED = 24; // 0x18
+ field public static final int ERROR_REMOTE_OPERATION_NOT_SUPPORTED = 27; // 0x1b
field public static final int ERROR_REMOTE_OPERATION_REJECTED = 24; // 0x18
field public static final int ERROR_TIMEOUT = 15; // 0xf
field public static final int NOT_ALLOWED = 401; // 0x191
diff --git a/framework/java/android/bluetooth/BluetoothStatusCodes.java b/framework/java/android/bluetooth/BluetoothStatusCodes.java
index fe7f57973c..4f57e75583 100644
--- a/framework/java/android/bluetooth/BluetoothStatusCodes.java
+++ b/framework/java/android/bluetooth/BluetoothStatusCodes.java
@@ -198,7 +198,7 @@ public final class BluetoothStatusCodes {
* @hide
*/
@SystemApi
- public static final int ERROR_REMOTE_OPERATION_NOT_SUPPORTED = 24;
+ public static final int ERROR_REMOTE_OPERATION_NOT_SUPPORTED = 27;
/**
* A GATT writeCharacteristic request is not permitted on the remote device.