Remove Windowing Prototype 1 from Codebase
Refactor codebase to remove Proto1 as it is no longer supported. Test: aTest WMShellUnitTests Bug: 297217817 Change-Id: Ifaf67754c048d913fe203f4b34efc3c9c611039c
This commit is contained in:
1 parent
ccce958c18
commit
3f2338a8e8
9 files changed
+19
-32
No files matched your search
@@ -17,7 +17,7 @@
|
||||
package com.android.quickstep;
|
||||
|
||||
import static com.android.launcher3.util.Executors.UI_HELPER_EXECUTOR;
|
||||
import static com.android.quickstep.views.DesktopTaskView.DESKTOP_IS_PROTO2_ENABLED;
|
||||
import static com.android.quickstep.views.DesktopTaskView.DESKTOP_MODE_SUPPORTED;
|
||||
import static com.android.wm.shell.util.GroupedRecentTaskInfo.TYPE_FREEFORM;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
@@ -270,7 +270,7 @@ public class RecentTasksList {
|
||||
TaskLoadResult allTasks = new TaskLoadResult(requestId, loadKeysOnly, rawTasks.size());
|
||||
|
||||
for (GroupedRecentTaskInfo rawTask : rawTasks) {
|
||||
if (DESKTOP_IS_PROTO2_ENABLED && rawTask.getType() == TYPE_FREEFORM) {
|
||||
if (DESKTOP_MODE_SUPPORTED && rawTask.getType() == TYPE_FREEFORM) {
|
||||
GroupTask desktopTask = createDesktopTask(rawTask);
|
||||
allTasks.add(desktopTask);
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user