commit | ce79488572b5c5cbc1f2710eee195937dfbcad74 | [log] [tgz] |
---|---|---|
author | Tracy Zhou <tracyzhou@google.com> | Wed Feb 03 13:35:42 2021 -0800 |
committer | Tracy Zhou <tracyzhou@google.com> | Wed Feb 03 13:35:42 2021 -0800 |
tree | 7dda63474e96464ec3c8eddd26edd531e00d4525 | |
parent | d0f5aa0dc62cb3db9e7e6a022867889f521c6116 [diff] |
Make sure that RemoteAnimationTargets is not null when redrawLiveTile() Fixes: 179289159 Test: manual Change-Id: I3a5d283582f0899d98717bbbdd146925cc0a4a93
diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index 2f2b566..d9d0a93 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java
@@ -2277,7 +2277,9 @@ } public void redrawLiveTile() { - mLiveTileTaskViewSimulator.apply(mLiveTileParams); + if (mLiveTileParams.getTargetSet() != null) { + mLiveTileTaskViewSimulator.apply(mLiveTileParams); + } } public TaskViewSimulator getLiveTileTaskViewSimulator() {