Merge "ENABLE_TWOLINE_ALLAPPS default true (only in teamfood)" into udc-dev am: 1ee28cd273

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22878239

Change-Id: Ifa2b39f403132b9a53a3a98597ad3dc6351701d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Brandon Dayauon
2023-05-05 21:45:29 +00:00
committed by Automerger Merge Worker
2 changed files with 3 additions and 2 deletions
@@ -253,7 +253,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");
@@ -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() {