mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Removing some obsolete features
PROMISE_APPS_NEW_INSTALLS = true ENABLE_QUICKSTEP_WIDGET_APP_START = true FOLDER_NAME_SUGGEST = true ENABLE_PREDICTION_DISMISS = true HOTSEAT_MIGRATE_TO_FOLDER = false ENABLE_DEEP_SHORTCUT_ICON_CACHE = true ENABLE_THEMED_ICONS = true ENABLE_ALL_APPS_EDU = true EXPANDED_SMARTSPACE = false Bug: 241141733 Test: Presubmit Change-Id: I72c0c20ab7e214994dc3c3665c90e85d45991a7a
This commit is contained in:
@@ -25,7 +25,6 @@ import static com.android.launcher3.allapps.AllAppsTransitionController.ALL_APPS
|
||||
import static com.android.launcher3.allapps.AllAppsTransitionController.ALL_APPS_PULL_BACK_TRANSLATION;
|
||||
import static com.android.launcher3.anim.AnimatorListeners.forSuccessCallback;
|
||||
import static com.android.launcher3.anim.Interpolators.DEACCEL_3;
|
||||
import static com.android.launcher3.config.FeatureFlags.ENABLE_ALL_APPS_EDU;
|
||||
import static com.android.launcher3.config.FeatureFlags.ENABLE_QUICKSTEP_LIVE_TILE;
|
||||
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_HOME_GESTURE;
|
||||
import static com.android.systemui.shared.system.ActivityManagerWrapper.CLOSE_SYSTEM_WINDOWS_REASON_RECENTS;
|
||||
@@ -106,7 +105,7 @@ public class NavBarToHomeTouchController implements TouchController,
|
||||
if (mStartState.overviewUi || mStartState == ALL_APPS) {
|
||||
return true;
|
||||
}
|
||||
int typeToClose = ENABLE_ALL_APPS_EDU.get() ? TYPE_ALL & ~TYPE_ALL_APPS_EDU : TYPE_ALL;
|
||||
int typeToClose = TYPE_ALL & ~TYPE_ALL_APPS_EDU;
|
||||
if (AbstractFloatingView.getTopOpenViewWithType(mLauncher, typeToClose) != null) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user