OSDN Git Service

Temporarily workaround rendering issues.
authorWinson Chung <winsonc@google.com>
Fri, 11 Dec 2015 20:51:18 +0000 (15:51 -0500)
committerWinson Chung <winsonc@google.com>
Fri, 11 Dec 2015 20:55:18 +0000 (20:55 +0000)
- Disable reusing old stack view tasks

Bug: 25998134
Change-Id: Idf74f9b371a9ae6d89f5752708ac6adb675b55a7

packages/SystemUI/src/com/android/systemui/recents/views/RecentsView.java

index 7ae686e..55a54a2 100644 (file)
@@ -142,7 +142,8 @@ public class RecentsView extends FrameLayout implements TaskStackView.TaskStackV
     public void setTaskStack(TaskStack stack) {
         RecentsConfiguration config = Recents.getConfiguration();
         mStack = stack;
-        if (config.getLaunchState().launchedReuseTaskStackViews) {
+        // Disable reusing task stack views until the visibility bug is fixed. b/25998134
+        if (false && config.getLaunchState().launchedReuseTaskStackViews) {
             if (mTaskStackView != null) {
                 // If onRecentsHidden is not triggered, we need to the stack view again here
                 mTaskStackView.reset();