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

Commit 5bec5af9 authored by Prerepa Viswanadham's avatar Prerepa Viswanadham
Browse files

cleanup : delete BLE advertising related hidden state references in Bluetooth Adapter

Change-Id: Ia58a46392157e274f8fc4696e8e25af480eb2d2a
parent f7c42c50
Loading
Loading
Loading
Loading
+0 −18
Original line number Diff line number Diff line
@@ -354,27 +354,9 @@ public final class BluetoothAdapter {
    /** The profile is in disconnecting state */
    public static final int STATE_DISCONNECTING = 3;

    /** States for Bluetooth LE advertising */
    /** @hide */
    public static final int STATE_ADVERTISE_STARTING = 0;
    /** @hide */
    public static final int STATE_ADVERTISE_STARTED = 1;
    /** @hide */
    public static final int STATE_ADVERTISE_STOPPING = 2;
    /** @hide */
    public static final int STATE_ADVERTISE_STOPPED = 3;
    /**
     * Force stopping advertising without callback in case the advertising app dies.
     * @hide
     */
    public static final int STATE_ADVERTISE_FORCE_STOPPING = 4;

    /** @hide */
    public static final String BLUETOOTH_MANAGER_SERVICE = "bluetooth_manager";

    /** @hide */
    public static final int ADVERTISE_CALLBACK_SUCCESS = 0;

    private static final int ADDRESS_LENGTH = 17;

    private static final int CONTROLLER_ENERGY_UPDATE_TIMEOUT_MILLIS = 30;