Merge "Removing unnecessary layout pass happening due when chaning gradientView visibility" into ub-launcher3-master

This commit is contained in:
TreeHugger Robot
2017-10-05 22:09:24 +00:00
committed by Android (Google) Code Review
3 changed files with 1 additions and 4 deletions

View File

@@ -275,8 +275,7 @@ public class AllAppsTransitionController implements TouchController, SwipeDetect
private void updateAllAppsBg(float progress) {
// gradient
if (mGradientView == null) {
mGradientView = (GradientView) mLauncher.findViewById(R.id.gradient_bg);
mGradientView.setVisibility(View.VISIBLE);
mGradientView = mLauncher.findViewById(R.id.gradient_bg);
}
mGradientView.setProgress(progress);
}