summaryrefslogtreecommitdiffstats
path: root/core/java/android
diff options
context:
space:
mode:
authorMatthew Xie <mattx@google.com>2013-05-26 13:21:44 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-05-26 13:21:44 -0700
commit84e1afcccc328e7a52bfde16e824a3ed37889d1d (patch)
tree666f9dc7fe868812c79941ea70c94718ee2b85a2 /core/java/android
parent66e596e788761e1168805304d2f5fc93c1f2fbcd (diff)
parent413f62930003d4ff20e29fd3bbfaf2d163a08ac1 (diff)
downloadframeworks_base-84e1afcccc328e7a52bfde16e824a3ed37889d1d.zip
frameworks_base-84e1afcccc328e7a52bfde16e824a3ed37889d1d.tar.gz
frameworks_base-84e1afcccc328e7a52bfde16e824a3ed37889d1d.tar.bz2
am 413f6293: Merge "Change GATT_FAILURE from 0 to 0x101" into jb-mr2-dev
* commit '413f62930003d4ff20e29fd3bbfaf2d163a08ac1': Change GATT_FAILURE from 0 to 0x101
Diffstat (limited to 'core/java/android')
-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