diff options
Diffstat (limited to 'core/java')
-rw-r--r-- | core/java/android/bluetooth/BluetoothGatt.java | 6 | ||||
-rw-r--r-- | core/java/android/view/View.java | 2 |
2 files changed, 4 insertions, 4 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 diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index 4e8005f..d2cc93b 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -15914,7 +15914,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, } /** - * <p>This mehod must be called by {@link #onMeasure(int, int)} to store the + * <p>This method must be called by {@link #onMeasure(int, int)} to store the * measured width and measured height. Failing to do so will trigger an * exception at measurement time.</p> * |