Enabling Fallback launcher cases
Test: Locally tested and verified flow for fallback. Flag: com.android.launcher3.enable_launcher_overview_in_window Bug: 365777265 Change-Id: I991a82152b47f2cfb7c1335c699e297b8f53bcf3
This commit is contained in:
1 parent
25220cdbda
commit
9d7141d1fe
7 files changed
+20
-11
No files matched your search
@@ -675,7 +675,7 @@ public class TouchInteractionService extends Service {
|
||||
mDesktopVisibilityController = new DesktopVisibilityController(this);
|
||||
mTaskbarManager = new TaskbarManager(
|
||||
this, mAllAppsActionManager, mNavCallbacks, mDesktopVisibilityController);
|
||||
if(Flags.enableFallbackOverviewInWindow()) {
|
||||
if (Flags.enableLauncherOverviewInWindow() || Flags.enableFallbackOverviewInWindow()) {
|
||||
mRecentsWindowManager = new RecentsWindowManager(this);
|
||||
}
|
||||
mInputConsumer = InputConsumerController.getRecentsAnimationInputConsumer();
|
||||
@@ -1410,8 +1410,10 @@ public class TouchInteractionService extends Service {
|
||||
}
|
||||
|
||||
public AbsSwipeUpHandler.Factory getSwipeUpHandlerFactory() {
|
||||
boolean recentsInWindow =
|
||||
Flags.enableFallbackOverviewInWindow() || Flags.enableLauncherOverviewInWindow();
|
||||
return mOverviewComponentObserver.isHomeAndOverviewSame()
|
||||
? mLauncherSwipeHandlerFactory : (Flags.enableFallbackOverviewInWindow()
|
||||
? mLauncherSwipeHandlerFactory : (recentsInWindow
|
||||
? mRecentsWindowSwipeHandlerFactory : mFallbackSwipeHandlerFactory);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user