Add head tracker sensor feature to PackageManager
Bug: 210156629 Test: compile only Change-Id: Ibf419737df5ea0e92fd7f734b2060b7ee749a92f
This commit is contained in:
@@ -13133,6 +13133,7 @@ package android.content.pm {
|
||||
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_HEART_RATE = "android.hardware.sensor.heartrate";
|
||||
field public static final String FEATURE_SENSOR_HEART_RATE_ECG = "android.hardware.sensor.heartrate.ecg";
|
||||
|
||||
@@ -3151,6 +3151,14 @@ 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 supports exposing head tracker sensors from peripheral
|
||||
* devices via the dynamic sensors API.
|
||||
*/
|
||||
@SdkConstant(SdkConstantType.FEATURE)
|
||||
public static final String FEATURE_SENSOR_DYNAMIC_HEAD_TRACKER = "android.hardware.sensor.dynamic.head_tracker";
|
||||
|
||||
/**
|
||||
* Feature for {@link #getSystemAvailableFeatures} and
|
||||
* {@link #hasSystemFeature}: The device supports high fidelity sensor processing
|
||||
|
||||
Reference in New Issue
Block a user