Merge "Fix issue keeping Go recents view GONE" into ub-launcher3-master
diff --git a/go/quickstep/src/com/android/quickstep/views/IconRecentsView.java b/go/quickstep/src/com/android/quickstep/views/IconRecentsView.java
index ae8166c..00415fe 100644
--- a/go/quickstep/src/com/android/quickstep/views/IconRecentsView.java
+++ b/go/quickstep/src/com/android/quickstep/views/IconRecentsView.java
@@ -51,6 +51,11 @@
@Override
public void setValue(IconRecentsView view, float v) {
ALPHA.set(view, v);
+ if (view.getVisibility() != VISIBLE && v > 0) {
+ view.setVisibility(VISIBLE);
+ } else if (view.getVisibility() != GONE && v == 0){
+ view.setVisibility(GONE);
+ }
}
@Override