commit | b219e31477cf1b29ea23a22df057210107039f49 | [log] [tgz] |
---|---|---|
author | Ats Jenk <atsjenk@google.com> | Thu Mar 16 22:00:00 2023 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Mar 16 22:00:00 2023 +0000 |
tree | 0c987376695996e5d6c120dd954e66f7145720f4 | |
parent | 8b4ac56ee2e6d272084689a7ff1b8c3291808ad2 [diff] | |
parent | 6adae751e76e6467f5c1101e154e76ef903849c2 [diff] |
Merge "Make sure desktop task view is only used in proto 2" into tm-qpr-dev
diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index 7c0cc2d..6899f9e 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java
@@ -2616,7 +2616,7 @@ } private boolean hasDesktopTask(Task[] runningTasks) { - if (!DESKTOP_MODE_SUPPORTED) { + if (!DesktopTaskView.DESKTOP_IS_PROTO2_ENABLED) { return false; } for (Task task : runningTasks) {