commit | 3f18cc444d13da96b42ffa1590e7d41acba1f81d | [log] [tgz] |
---|---|---|
author | Sreyas <sreyasr@google.com> | Thu Oct 17 14:35:04 2019 -0700 |
committer | Sreyas <sreyasr@google.com> | Thu Oct 17 14:35:04 2019 -0700 |
tree | 5477bd2c6f4f6637a0569a9278ad9e7cc9a66cf2 | |
parent | 35903d2cb25a4c941d97e26746d6d3f74c5fd5e7 [diff] |
Alpha correction. mContentAlpha sometimes equals 0, changing to 1 ensures recents card always shows when supposed to Change-Id: I27eda97b72b75263c0aac09e2355bca72daecc27
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 5a65c15..ca33605 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 @@ } @Override - public void resetTaskVisuals() { - super.resetTaskVisuals(); + public void setContentAlpha(float alpha) { + super.setContentAlpha(alpha); if (mRecentsExtraViewContainer != null) { - mRecentsExtraViewContainer.setAlpha(mContentAlpha); + mRecentsExtraViewContainer.setAlpha(alpha); } } }