Track window rather than shelf when FeatureFlags.SWIPE_HOME = true

Bug: 111926330
Change-Id: I439a682df14e4f559aa62b7f589d17acdac1d367
This commit is contained in:
Tony Wickham
2019-01-10 12:35:37 -08:00
parent e873c9623c
commit 68a716c5ca
5 changed files with 23 additions and 9 deletions

View File

@@ -104,6 +104,10 @@ abstract class BaseFlags {
public static final TogglableFlag ENABLE_QUICKSTEP_LIVE_TILE = new TogglableFlag(
"ENABLE_QUICKSTEP_LIVE_TILE", false, "Enable live tile in Quickstep overview");
public static final ToggleableGlobalSettingsFlag SWIPE_HOME
= new ToggleableGlobalSettingsFlag("SWIPE_HOME", false,
"[WIP] Swiping up on the nav bar goes home. Swipe and hold goes to recent apps.");
public static void initialize(Context context) {
// Avoid the disk read for user builds
if (Utilities.IS_DEBUG_DEVICE) {