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

Commit 4782e004 authored by Harshad Dhabu's avatar Harshad Dhabu Committed by Arthi Ravishankar
Browse files

[CTS][WoM]Add new feature to PackageManger for Rotary Encoder

Bug: 302553855
Test: atest android.app.cts.SystemFeaturesTest#testFeatureNamespaces
Change-Id: Iba7e7cfcb3ee3ca44795628435eed18951bf18cb
(cherry picked from commit 0e3467b866131dc6737c76c41581c8450cef80d7)
parent af7e122d
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -4605,6 +4605,16 @@ public abstract class PackageManager {
    public static final String FEATURE_WALLET_LOCATION_BASED_SUGGESTIONS =
            "android.software.wallet_location_based_suggestions";

    /**
     * Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}: The device has
     * the rotary encoder hardware to support rotating bezel on watch.
     *
     * @hide
     */
    @SdkConstant(SdkConstantType.FEATURE)
    public static final String FEATURE_ROTARY_ENCODER_LOW_RES =
            "android.hardware.rotaryencoder.lowres";

    /** @hide */
    public static final boolean APP_ENUMERATION_ENABLED_BY_DEFAULT = true;