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

Commit 019554f6 authored by Nick Kralevich's avatar Nick Kralevich Committed by Android Git Automerger
Browse files

am 4b69cbd6: resolved conflicts for merge of 335e0e08 to mnc-dr-dev-plus-aosp

* commit '4b69cbd6':
  include/android/sensor: add enum for LINEAR_ACCELERATION
parents a4820004 4b69cbd6
Loading
Loading
Loading
Loading
+14 −6
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ extern "C" {

/**
 * Sensor types.
 * (keep in sync with hardware/sensor.h)
 * (keep in sync with hardware/sensors.h)
 */
enum {
    /**
@@ -103,7 +103,15 @@ enum {
     * SENSOR_FLAG_WAKE_UP.
     * The value corresponds to the distance to the nearest object in centimeters.
     */
    ASENSOR_TYPE_PROXIMITY          = 8
    ASENSOR_TYPE_PROXIMITY           = 8,
    /**
     * {@link ASENSOR_TYPE_LINEAR_ACCELERATION}
     * reporting-mode: continuous
     *
     *  All values are in SI units (m/s^2) and measure the acceleration of the
     *  device not including the force of gravity.
     */
    ASENSOR_TYPE_LINEAR_ACCELERATION = 10
};

/**