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

Commit 328981e6 authored by Shashwat Razdan's avatar Shashwat Razdan
Browse files

Adding "android.software.contextualsearch" to FEATURES

in PackageManager.

Bug: 329350496
Test: atest CtsAppTestCases:android.app.cts.SystemFeaturesTest#testFeatureNamespaces
Change-Id: Icf4916099945279c06fcf4aa8e60358baee30407
(cherry picked from commit 8909fc01)
parent 792be90c
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -4824,6 +4824,16 @@ public abstract class PackageManager {
    public static final String FEATURE_ROTARY_ENCODER_LOW_RES =
            "android.hardware.rotaryencoder.lowres";

  /**
   * Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}: The device has
   * support for contextual search helper.
   *
   * @hide
   */
  @SdkConstant(SdkConstantType.FEATURE)
  public static final String FEATURE_CONTEXTUAL_SEARCH_HELPER =
      "android.software.contextualsearch";

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