[Sensor] Add a constant to match native header
am: 370985d
* commit '370985d00a04c0d6977929cd8daf05c932443b0d':
[Sensor] Add a constant to match native header
This commit is contained in:
@@ -652,6 +652,14 @@ public final class Sensor {
|
||||
|
||||
public static final int TYPE_ALL = -1;
|
||||
|
||||
/**
|
||||
* The lowest sensor type vendor defined sensors can use.
|
||||
*
|
||||
* All vendor sensor types are greater than or equal to this constant.
|
||||
*
|
||||
*/
|
||||
public static final int TYPE_DEVICE_PRIVATE_BASE = 0x10000;
|
||||
|
||||
// If this flag is set, the sensor defined as a wake up sensor. This field and REPORTING_MODE_*
|
||||
// constants are defined as flags in sensors.h. Modify at both places if needed.
|
||||
private static final int SENSOR_FLAG_WAKE_UP_SENSOR = 1;
|
||||
|
||||
Reference in New Issue
Block a user