mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Always look for MODE_OPENING during task launch from overview
* Previously the target mode was dependent on whether liveTile was running or not, opposite targets seem to be coming in from WM now. * Remove a bunch of un-used code from LauncherSplitScreenListener that was used when we only allowed one split pair in overview previously. Now that is handled by RecentTasksController in shell so we don't need any additional bookkeeping. Fix: 212220301 Test: Able to launch side tasks in overview Change-Id: I002340d98ba379cb4ab9ae37eadfa235d6b5e56d
This commit is contained in:
@@ -32,7 +32,6 @@ import androidx.annotation.UiThread;
|
||||
import com.android.launcher3.statemanager.StatefulActivity;
|
||||
import com.android.launcher3.util.RunnableList;
|
||||
import com.android.quickstep.RecentsAnimationCallbacks.RecentsAnimationListener;
|
||||
import com.android.quickstep.util.LauncherSplitScreenListener;
|
||||
import com.android.quickstep.views.RecentsView;
|
||||
import com.android.quickstep.views.TaskView;
|
||||
import com.android.systemui.shared.recents.model.ThumbnailData;
|
||||
@@ -172,7 +171,6 @@ public class OverviewCommandHelper {
|
||||
}
|
||||
if (cmd.type == TYPE_HOME) {
|
||||
mService.startActivity(mOverviewComponentObserver.getHomeIntent());
|
||||
LauncherSplitScreenListener.INSTANCE.getNoCreate().notifySwipingToHome();
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
@@ -191,7 +189,6 @@ public class OverviewCommandHelper {
|
||||
return launchTask(recents, getNextTask(recents), cmd);
|
||||
case TYPE_HOME:
|
||||
recents.startHome();
|
||||
LauncherSplitScreenListener.INSTANCE.getNoCreate().notifySwipingToHome();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user