Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d07018c2 authored by Anthony Stange's avatar Anthony Stange
Browse files

Add hinge angle sensor feature to PackageManager

Bug: 144139857
Test: compile
Change-Id: Icfe8e8769bc89cc457d8ecd2b7eb60c034e4f531
parent 63bce6f8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12067,6 +12067,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";
+7 −0
Original line number Diff line number Diff line
@@ -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