mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Merge "Revert "Enable taskbar in overview by default"" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
126d178358
@@ -241,7 +241,7 @@ public final class FeatureFlags {
|
||||
"Enables One Search box in Taskbar All Apps.");
|
||||
|
||||
public static final BooleanFlag ENABLE_TASKBAR_IN_OVERVIEW = getDebugFlag(
|
||||
"ENABLE_TASKBAR_IN_OVERVIEW", true,
|
||||
"ENABLE_TASKBAR_IN_OVERVIEW", false,
|
||||
"Enables accessing the system Taskbar in overview.");
|
||||
|
||||
public static final BooleanFlag ENABLE_SPLIT_FROM_WORKSPACE = getDebugFlag(
|
||||
|
||||
@@ -790,7 +790,7 @@ public final class LauncherInstrumentation {
|
||||
waitUntilLauncherObjectGone(APPS_RES_ID);
|
||||
waitUntilLauncherObjectGone(WORKSPACE_RES_ID);
|
||||
waitUntilLauncherObjectGone(WIDGETS_RES_ID);
|
||||
checkTaskbarVisibility();
|
||||
waitUntilLauncherObjectGone(TASKBAR_RES_ID);
|
||||
waitUntilLauncherObjectGone(SPLIT_PLACEHOLDER_RES_ID);
|
||||
|
||||
return waitForLauncherObject(OVERVIEW_RES_ID);
|
||||
@@ -799,7 +799,7 @@ public final class LauncherInstrumentation {
|
||||
waitUntilLauncherObjectGone(APPS_RES_ID);
|
||||
waitUntilLauncherObjectGone(WORKSPACE_RES_ID);
|
||||
waitUntilLauncherObjectGone(WIDGETS_RES_ID);
|
||||
checkTaskbarVisibility();
|
||||
waitUntilLauncherObjectGone(TASKBAR_RES_ID);
|
||||
|
||||
waitForLauncherObject(SPLIT_PLACEHOLDER_RES_ID);
|
||||
return waitForLauncherObject(OVERVIEW_RES_ID);
|
||||
@@ -808,7 +808,7 @@ public final class LauncherInstrumentation {
|
||||
waitUntilLauncherObjectGone(APPS_RES_ID);
|
||||
waitUntilLauncherObjectGone(WORKSPACE_RES_ID);
|
||||
waitUntilLauncherObjectGone(WIDGETS_RES_ID);
|
||||
checkTaskbarVisibility();
|
||||
waitUntilLauncherObjectGone(TASKBAR_RES_ID);
|
||||
waitUntilLauncherObjectGone(SPLIT_PLACEHOLDER_RES_ID);
|
||||
|
||||
return waitForFallbackLauncherObject(OVERVIEW_RES_ID);
|
||||
@@ -820,7 +820,14 @@ public final class LauncherInstrumentation {
|
||||
waitUntilLauncherObjectGone(WIDGETS_RES_ID);
|
||||
waitUntilLauncherObjectGone(SPLIT_PLACEHOLDER_RES_ID);
|
||||
|
||||
checkTaskbarVisibility();
|
||||
if (mIgnoreTaskbarVisibility) {
|
||||
return null;
|
||||
}
|
||||
if (isTablet() && !isFallbackOverview()) {
|
||||
waitForLauncherObject(TASKBAR_RES_ID);
|
||||
} else {
|
||||
waitUntilLauncherObjectGone(TASKBAR_RES_ID);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
default:
|
||||
@@ -830,18 +837,6 @@ public final class LauncherInstrumentation {
|
||||
}
|
||||
}
|
||||
|
||||
private void checkTaskbarVisibility() {
|
||||
if (mIgnoreTaskbarVisibility) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (isTablet() && !isFallbackOverview()) {
|
||||
waitForLauncherObject(TASKBAR_RES_ID);
|
||||
} else {
|
||||
waitUntilLauncherObjectGone(TASKBAR_RES_ID);
|
||||
}
|
||||
}
|
||||
|
||||
public void waitForLauncherInitialized() {
|
||||
for (int i = 0; i < 100; ++i) {
|
||||
if (getTestInfo(
|
||||
|
||||
Reference in New Issue
Block a user