Merge "Add TYPE_HEADING sensor type to PackageManager features."
This commit is contained in:
@@ -11874,6 +11874,7 @@ package android.content.pm {
|
||||
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_HEADING = "android.hardware.sensor.heading";
|
||||
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";
|
||||
|
||||
@@ -3186,6 +3186,13 @@ public abstract class PackageManager {
|
||||
@SdkConstant(SdkConstantType.FEATURE)
|
||||
public static final String FEATURE_SENSOR_HINGE_ANGLE = "android.hardware.sensor.hinge_angle";
|
||||
|
||||
/**
|
||||
* Feature for {@link #getSystemAvailableFeatures} and
|
||||
* {@link #hasSystemFeature}: The device includes a heading sensor.
|
||||
*/
|
||||
@SdkConstant(SdkConstantType.FEATURE)
|
||||
public static final String FEATURE_SENSOR_HEADING = "android.hardware.sensor.heading";
|
||||
|
||||
/**
|
||||
* Feature for {@link #getSystemAvailableFeatures} and
|
||||
* {@link #hasSystemFeature}: The device supports exposing head tracker sensors from peripheral
|
||||
|
||||
Reference in New Issue
Block a user