diff options
author | Matthew Xie <mattx@google.com> | 2013-05-26 21:03:16 +0000 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2013-05-26 21:03:16 +0000 |
commit | d21f674c150aa26c8094d1418108649f53f810e6 (patch) | |
tree | 1e436ed04cc12238854133feaf67a0de2cb12580 /core/java/android | |
parent | 8310e6196ffeb6d0dce33fc1a528113b04f304d6 (diff) | |
download | frameworks_base-d21f674c150aa26c8094d1418108649f53f810e6.zip frameworks_base-d21f674c150aa26c8094d1418108649f53f810e6.tar.gz frameworks_base-d21f674c150aa26c8094d1418108649f53f810e6.tar.bz2 |
Revert "Change GATT_FAILURE from 0 to 0x101"
This reverts commit 8310e6196ffeb6d0dce33fc1a528113b04f304d6
Change-Id: I467f7cfc8626b0fc54509a89158cd2d84a0c10b8
Diffstat (limited to 'core/java/android')
-rw-r--r-- | core/java/android/bluetooth/BluetoothGatt.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/bluetooth/BluetoothGatt.java b/core/java/android/bluetooth/BluetoothGatt.java index f303206..bffe64b 100644 --- a/core/java/android/bluetooth/BluetoothGatt.java +++ b/core/java/android/bluetooth/BluetoothGatt.java @@ -70,6 +70,9 @@ 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; @@ -94,9 +97,6 @@ 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 |