Merge "[Search][Layout] Fix blank space when predictions are disabled" into sc-dev am: 50c6a37ea9

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14102304

Change-Id: Ibe1b37e7e2f2d998f8a5c0464986e397efbe598d
This commit is contained in:
Samuel Fufa
2021-04-06 17:57:39 +00:00
committed by Automerger Merge Worker
@@ -237,7 +237,9 @@ public class PredictionRowView extends LinearLayout implements
setTranslationY(scroll);
}
setAlpha(mScrolledOut ? 0 : 1);
AlphaUpdateListener.updateVisibility(this);
if (getVisibility() != GONE) {
AlphaUpdateListener.updateVisibility(this);
}
}
@Override