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

Commit d138be09 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add Foldable feature flag"

parents 9b12ca9a 821f43aa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11664,6 +11664,7 @@ package android.content.pm {
    field public static final String FEATURE_FAKETOUCH_MULTITOUCH_DISTINCT = "android.hardware.faketouch.multitouch.distinct";
    field public static final String FEATURE_FAKETOUCH_MULTITOUCH_JAZZHAND = "android.hardware.faketouch.multitouch.jazzhand";
    field public static final String FEATURE_FINGERPRINT = "android.hardware.fingerprint";
    field public static final String FEATURE_FOLDABLE = "android.hardware.type.foldable";
    field public static final String FEATURE_FREEFORM_WINDOW_MANAGEMENT = "android.software.freeform_window_management";
    field public static final String FEATURE_GAMEPAD = "android.hardware.gamepad";
    field public static final String FEATURE_HIFI_SENSORS = "android.hardware.sensor.hifi_sensors";
+8 −0
Original line number Diff line number Diff line
@@ -2564,6 +2564,14 @@ public abstract class PackageManager {
    @SdkConstant(SdkConstantType.FEATURE)
    public static final String FEATURE_PC = "android.hardware.type.pc";

    /**
     * Feature for {@link #getSystemAvailableFeatures} and
     * {@link #hasSystemFeature}: This is a foldable device. Properties such as
     * the display size may change in response to being folded.
     */
    @SdkConstant(SdkConstantType.FEATURE)
    public static final String FEATURE_FOLDABLE = "android.hardware.type.foldable";

    /**
     * Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}:
     * The device supports printing.