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

This commit is contained in:
Samuel Fufa authored and Android (Google) Code Review committed 2021-04-06 17:56:51 +00:00
commit 50c6a37ea9
1 file changed
+3 -1
@@ -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