Merge "Add hinge angle sensor feature to PackageManager"
This commit is contained in:
committed by
Android (Google) Code Review
commit
c99357ab0a
@@ -12074,6 +12074,7 @@ package android.content.pm {
|
||||
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";
|
||||
field public static final String FEATURE_SENSOR_HINGE_ANGLE = "android.hardware.sensor.hinge_angle";
|
||||
field public static final String FEATURE_SENSOR_LIGHT = "android.hardware.sensor.light";
|
||||
field public static final String FEATURE_SENSOR_PROXIMITY = "android.hardware.sensor.proximity";
|
||||
field public static final String FEATURE_SENSOR_RELATIVE_HUMIDITY = "android.hardware.sensor.relative_humidity";
|
||||
|
||||
@@ -2324,6 +2324,13 @@ public abstract class PackageManager {
|
||||
public static final String FEATURE_SENSOR_AMBIENT_TEMPERATURE =
|
||||
"android.hardware.sensor.ambient_temperature";
|
||||
|
||||
/**
|
||||
* Feature for {@link #getSystemAvailableFeatures} and
|
||||
* {@link #hasSystemFeature}: The device includes a hinge angle sensor.
|
||||
*/
|
||||
@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 high fidelity sensor processing
|
||||
|
||||
Reference in New Issue
Block a user