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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user