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

Commit 017e7a2e authored by Brandon Dayauon's avatar Brandon Dayauon
Browse files

ENABLE_TWOLINE_ALLAPPS default true (only in teamfood)

- modified test so enabling two line all apps work
- have appIconSelector() select from content description

bug: 275116822
test: manual
Change-Id: Id3ccc6859b55d6b8a80ca509d420409d484207cf
parent a6a0867b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -246,7 +246,7 @@ public final class FeatureFlags {
            "COLLECT_SEARCH_HISTORY", DISABLED, "Allow launcher to collect search history for log");

    public static final BooleanFlag ENABLE_TWOLINE_ALLAPPS = getDebugFlag(270390937,
            "ENABLE_TWOLINE_ALLAPPS", DISABLED, "Enables two line label inside all apps.");
            "ENABLE_TWOLINE_ALLAPPS", TEAMFOOD, "Enables two line label inside all apps.");

    public static final BooleanFlag IME_STICKY_SNACKBAR_EDU = getDebugFlag(270391693,
            "IME_STICKY_SNACKBAR_EDU", ENABLED, "Show sticky IME edu in AllApps");
+2 −1
Original line number Diff line number Diff line
@@ -37,7 +37,8 @@ public abstract class AppIcon extends Launchable {
    }

    static BySelector getAppIconSelector(String appName, LauncherInstrumentation launcher) {
        return By.clazz(TextView.class).text(appName).pkg(launcher.getLauncherPackageName());
        return By.clazz(TextView.class).textContains(appName)
                .pkg(launcher.getLauncherPackageName());
    }

    static BySelector getAnyAppIconSelector() {