Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1626eab8 authored by Matthew Xie's avatar Matthew Xie
Browse files

Revert "Change GATT_FAILURE from 0 to 0x101"

This reverts commit 4d0692aa

Change-Id: I467f7cfc8626b0fc54509a89158cd2d84a0c10b8
parent 4d0692aa
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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