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

This commit is contained in:
Samuel Fufa
2021-04-06 17:56:51 +00:00
committed by Android (Google) Code Review
@@ -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