From 3f18cc444d13da96b42ffa1590e7d41acba1f81d Mon Sep 17 00:00:00 2001 From: Sreyas Date: Thu, 17 Oct 2019 14:35:04 -0700 Subject: [PATCH] Alpha correction. mContentAlpha sometimes equals 0, changing to 1 ensures recents card always shows when supposed to Change-Id: I27eda97b72b75263c0aac09e2355bca72daecc27 --- .../com/android/quickstep/views/LauncherRecentsView.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quickstep/recents_ui_overrides/src/com/android/quickstep/views/LauncherRecentsView.java b/quickstep/recents_ui_overrides/src/com/android/quickstep/views/LauncherRecentsView.java index 5a65c15376..ca33605249 100644 --- a/quickstep/recents_ui_overrides/src/com/android/quickstep/views/LauncherRecentsView.java +++ b/quickstep/recents_ui_overrides/src/com/android/quickstep/views/LauncherRecentsView.java @@ -378,10 +378,10 @@ public class LauncherRecentsView extends RecentsView implements StateL } @Override - public void resetTaskVisuals() { - super.resetTaskVisuals(); + public void setContentAlpha(float alpha) { + super.setContentAlpha(alpha); if (mRecentsExtraViewContainer != null) { - mRecentsExtraViewContainer.setAlpha(mContentAlpha); + mRecentsExtraViewContainer.setAlpha(alpha); } } }