Merge "Add limited axes sensor types to PackageManager features."
This commit is contained in:
@@ -11853,11 +11853,15 @@ package android.content.pm {
|
||||
field public static final String FEATURE_SECURE_LOCK_SCREEN = "android.software.secure_lock_screen";
|
||||
field public static final String FEATURE_SECURITY_MODEL_COMPATIBLE = "android.hardware.security.model.compatible";
|
||||
field public static final String FEATURE_SENSOR_ACCELEROMETER = "android.hardware.sensor.accelerometer";
|
||||
field public static final String FEATURE_SENSOR_ACCELEROMETER_LIMITED_AXES = "android.hardware.sensor.accelerometer_limited_axes";
|
||||
field public static final String FEATURE_SENSOR_ACCELEROMETER_LIMITED_AXES_UNCALIBRATED = "android.hardware.sensor.accelerometer_limited_axes_uncalibrated";
|
||||
field public static final String FEATURE_SENSOR_AMBIENT_TEMPERATURE = "android.hardware.sensor.ambient_temperature";
|
||||
field public static final String FEATURE_SENSOR_BAROMETER = "android.hardware.sensor.barometer";
|
||||
field public static final String FEATURE_SENSOR_COMPASS = "android.hardware.sensor.compass";
|
||||
field public static final String FEATURE_SENSOR_DYNAMIC_HEAD_TRACKER = "android.hardware.sensor.dynamic.head_tracker";
|
||||
field public static final String FEATURE_SENSOR_GYROSCOPE = "android.hardware.sensor.gyroscope";
|
||||
field public static final String FEATURE_SENSOR_GYROSCOPE_LIMITED_AXES = "android.hardware.sensor.gyroscope_limited_axes";
|
||||
field public static final String FEATURE_SENSOR_GYROSCOPE_LIMITED_AXES_UNCALIBRATED = "android.hardware.sensor.gyroscope_limited_axes_uncalibrated";
|
||||
field public static final String FEATURE_SENSOR_HEART_RATE = "android.hardware.sensor.heartrate";
|
||||
field public static final String FEATURE_SENSOR_HEART_RATE_ECG = "android.hardware.sensor.heartrate.ecg";
|
||||
field public static final String FEATURE_SENSOR_HINGE_ANGLE = "android.hardware.sensor.hinge_angle";
|
||||
|
||||
@@ -3087,6 +3087,38 @@ public abstract class PackageManager {
|
||||
@SdkConstant(SdkConstantType.FEATURE)
|
||||
public static final String FEATURE_SENSOR_GYROSCOPE = "android.hardware.sensor.gyroscope";
|
||||
|
||||
/**
|
||||
* Feature for {@link #getSystemAvailableFeatures} and
|
||||
* {@link #hasSystemFeature}: The device includes a limited axes accelerometer.
|
||||
*/
|
||||
@SdkConstant(SdkConstantType.FEATURE)
|
||||
public static final String FEATURE_SENSOR_ACCELEROMETER_LIMITED_AXES =
|
||||
"android.hardware.sensor.accelerometer_limited_axes";
|
||||
|
||||
/**
|
||||
* Feature for {@link #getSystemAvailableFeatures} and
|
||||
* {@link #hasSystemFeature}: The device includes a limited axes gyroscope.
|
||||
*/
|
||||
@SdkConstant(SdkConstantType.FEATURE)
|
||||
public static final String FEATURE_SENSOR_GYROSCOPE_LIMITED_AXES =
|
||||
"android.hardware.sensor.gyroscope_limited_axes";
|
||||
|
||||
/**
|
||||
* Feature for {@link #getSystemAvailableFeatures} and
|
||||
* {@link #hasSystemFeature}: The device includes an uncalibrated limited axes accelerometer.
|
||||
*/
|
||||
@SdkConstant(SdkConstantType.FEATURE)
|
||||
public static final String FEATURE_SENSOR_ACCELEROMETER_LIMITED_AXES_UNCALIBRATED =
|
||||
"android.hardware.sensor.accelerometer_limited_axes_uncalibrated";
|
||||
|
||||
/**
|
||||
* Feature for {@link #getSystemAvailableFeatures} and
|
||||
* {@link #hasSystemFeature}: The device includes an uncalibrated limited axes gyroscope.
|
||||
*/
|
||||
@SdkConstant(SdkConstantType.FEATURE)
|
||||
public static final String FEATURE_SENSOR_GYROSCOPE_LIMITED_AXES_UNCALIBRATED =
|
||||
"android.hardware.sensor.gyroscope_limited_axes_uncalibrated";
|
||||
|
||||
/**
|
||||
* Feature for {@link #getSystemAvailableFeatures} and
|
||||
* {@link #hasSystemFeature}: The device includes a light sensor.
|
||||
|
||||
Reference in New Issue
Block a user