diff --git a/packages/SystemUI/res/drawable/recents_move_task_freeform_dark.xml b/packages/SystemUI/res/drawable/recents_move_task_freeform_dark.xml
index ce07b2da138cb..9a060b4a3d39f 100644
--- a/packages/SystemUI/res/drawable/recents_move_task_freeform_dark.xml
+++ b/packages/SystemUI/res/drawable/recents_move_task_freeform_dark.xml
@@ -14,11 +14,29 @@ Copyright (C) 2015 The Android Open Source Project
limitations under the License.
-->
-
-
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/packages/SystemUI/res/drawable/recents_move_task_freeform_light.xml b/packages/SystemUI/res/drawable/recents_move_task_freeform_light.xml
index bf452ae168f05..b8acedb3c2f71 100644
--- a/packages/SystemUI/res/drawable/recents_move_task_freeform_light.xml
+++ b/packages/SystemUI/res/drawable/recents_move_task_freeform_light.xml
@@ -14,11 +14,29 @@ Copyright (C) 2015 The Android Open Source Project
limitations under the License.
-->
-
-
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/packages/SystemUI/res/drawable/recents_move_task_fullscreen_dark.xml b/packages/SystemUI/res/drawable/recents_move_task_fullscreen_dark.xml
index 4160efb8cd358..fd468c1ff25e1 100644
--- a/packages/SystemUI/res/drawable/recents_move_task_fullscreen_dark.xml
+++ b/packages/SystemUI/res/drawable/recents_move_task_fullscreen_dark.xml
@@ -14,20 +14,24 @@ Copyright (C) 2015 The Android Open Source Project
limitations under the License.
-->
-
-
-
-
-
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/packages/SystemUI/res/drawable/recents_move_task_fullscreen_light.xml b/packages/SystemUI/res/drawable/recents_move_task_fullscreen_light.xml
index f424bf66aeb04..532290637d746 100644
--- a/packages/SystemUI/res/drawable/recents_move_task_fullscreen_light.xml
+++ b/packages/SystemUI/res/drawable/recents_move_task_fullscreen_light.xml
@@ -14,20 +14,24 @@ Copyright (C) 2015 The Android Open Source Project
limitations under the License.
-->
-
-
-
-
-
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackView.java b/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackView.java
index 231360e46ae97..34720d41b4af9 100644
--- a/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackView.java
+++ b/packages/SystemUI/src/com/android/systemui/recents/views/TaskStackView.java
@@ -274,6 +274,9 @@ public class TaskStackView extends FrameLayout implements TaskStack.TaskStackCal
}
});
setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_YES);
+ if (ssp.hasFreeformWorkspaceSupport()) {
+ setWillNotDraw(false);
+ }
mFreeformWorkspaceBackground = (GradientDrawable) getContext().getDrawable(
R.drawable.recents_freeform_workspace_bg);