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

Commit 3f10f58d authored by Prerepa Viswanadham's avatar Prerepa Viswanadham Committed by Android Git Automerger
Browse files

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

* commit '6565c12905b959401c2f9d3cb123e200bb7ce0e2':
  cleanup : delete BLE advertising related hidden state references in Bluetooth Adapter
parents 38afb38a 5bec5af9
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;