commit | 02877d0847a8ed3f0f5ad4877585bbeafbe5392c | [log] [tgz] |
---|---|---|
author | Tracy Zhou <tracyzhou@google.com> | Tue May 14 13:22:56 2019 -0700 |
committer | Tracy Zhou <tracyzhou@google.com> | Tue May 14 14:07:26 2019 -0700 |
tree | aa4c1f74911c4e9f736b5913ebd2262c05380021 | |
parent | 3658d9fa0cf5c3629dd7e65494b4d2fbe7aab2e6 [diff] |
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
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 c4e1cce..c67058d 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 @@ @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);