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

Commit 1684d7a7 authored by Becky Qiu's avatar Becky Qiu
Browse files

[OneSearch] Arm2 - Add feature flags.

Added 2 flags to control web suggestion position and whether use fallback app results.

Bug: 213953197
Test: no test needed
Change-Id: Ia11c8bc9493fa4d61ced6982e7cac538201f1be2
parent b7e181c7
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -96,6 +96,13 @@ public final class FeatureFlags {
            getDebugFlag("ENABLE_FLOATING_SEARCH_BAR", false,
                    "Keep All Apps search bar at the bottom (but above keyboard if open)");

    public static final BooleanFlag INJECT_WEB_TOP = new DeviceFlag("INJECT_WEB_TOP", false,
            "Show web suggestions on top of the search results");

    public static final BooleanFlag USE_FALLBACK_APP_SEARCH = new DeviceFlag(
            "USE_FALLBACK_APP_SEARCH", false,
            "Use fallback launcher app search results instead of AiAi app results");

    public static final BooleanFlag COLLECT_SEARCH_HISTORY = new DeviceFlag(
            "COLLECT_SEARCH_HISTORY", false, "Allow launcher to collect search history for log");