From da08cb26395a9f48504d3d0129c06c412801e5d2 Mon Sep 17 00:00:00 2001 From: zakcohen Date: Wed, 2 Jun 2021 15:46:46 -0700 Subject: [PATCH] RecentsView - reduce work in color tint animator Don't allocate animators when there is no animation to do. The work was not required. Bug: 189492167 Test: Local build, run and trace analysis Change-Id: I111768b055ed636aa92d5d9d6b799f316a568380 --- .../com/android/quickstep/views/RecentsView.java | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index a0bba86e20..a4c60cf239 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -410,6 +410,7 @@ public abstract class RecentsView