summaryrefslogtreecommitdiffstats
path: root/core/java/android/bluetooth/BluetoothGatt.java
diff options
context:
space:
mode:
authorMatthew Xie <mattx@google.com>2013-05-28 21:06:50 +0000
committerMatthew Xie <mattx@google.com>2013-05-28 15:28:24 -0700
commit90ca807f7b2037499112d1c49c4b0793cc780540 (patch)
tree65d66b17a6131315679d3ac7ca87ada90da80efe /core/java/android/bluetooth/BluetoothGatt.java
parent27e453617a2c179580a55d6cbe0619fa95adf693 (diff)
downloadframeworks_base-90ca807f7b2037499112d1c49c4b0793cc780540.zip
frameworks_base-90ca807f7b2037499112d1c49c4b0793cc780540.tar.gz
frameworks_base-90ca807f7b2037499112d1c49c4b0793cc780540.tar.bz2
Revert "Revert "Change GATT_FAILURE from 0 to 0x101""
This reverts commit d21f674c150aa26c8094d1418108649f53f810e6 bug 9109238 Change-Id: Ie1fc3d7420e6c401d3db29499d8846e6b70a61bb
Diffstat (limited to 'core/java/android/bluetooth/BluetoothGatt.java')
-rw-r--r--core/java/android/bluetooth/BluetoothGatt.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/bluetooth/BluetoothGatt.java b/core/java/android/bluetooth/BluetoothGatt.java
index bffe64b..f303206 100644
--- a/core/java/android/bluetooth/BluetoothGatt.java
+++ b/core/java/android/bluetooth/BluetoothGatt.java
@@ -70,9 +70,6 @@ public final class BluetoothGatt implements BluetoothProfile {
private List<BluetoothGattService> mServices;
- /** A GATT operation failed */
- public static final int GATT_FAILURE = 0;
-
/** A GATT operation completed successfully */
public static final int GATT_SUCCESS = 0;
@@ -97,6 +94,9 @@ public final class BluetoothGatt implements BluetoothProfile {
/** A write operation exceeds the maximum length of the attribute */
public static final int GATT_INVALID_ATTRIBUTE_LENGTH = 0xd;
+ /** A GATT operation failed, errors other than the above */
+ public static final int GATT_FAILURE = 0x101;
+
/**
* No authentication required.
* @hide