From 02877d0847a8ed3f0f5ad4877585bbeafbe5392c Mon Sep 17 00:00:00 2001 From: Tracy Zhou Date: Tue, 14 May 2019 13:22:56 -0700 Subject: [PATCH] Remove setFullscreenProgress() call in TaskView#onRecycle When onRecycle() is called, the current task view is detached from the parent, causing getParent() to return null. Test: manual Fixes: 132269977 Change-Id: I80826c2348cb23363c0482d3fd12283a7c90a689 --- .../src/com/android/quickstep/views/TaskView.java | 1 - 1 file changed, 1 deletion(-) diff --git a/quickstep/recents_ui_overrides/src/com/android/quickstep/views/TaskView.java b/quickstep/recents_ui_overrides/src/com/android/quickstep/views/TaskView.java index c4e1cce3ea..c67058d988 100644 --- a/quickstep/recents_ui_overrides/src/com/android/quickstep/views/TaskView.java +++ b/quickstep/recents_ui_overrides/src/com/android/quickstep/views/TaskView.java @@ -475,7 +475,6 @@ public class TaskView extends FrameLayout implements PageCallbacks, Reusable { @Override public void onRecycle() { resetViewTransforms(); - setFullscreenProgress(0); // Clear any references to the thumbnail (it will be re-read either from the cache or the // system on next bind) mSnapshotView.setThumbnail(mTask, null);