mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 09:56:49 +00:00
Merge "Removing unnecessary layout pass happening due when chaning gradientView visibility" into ub-launcher3-master
This commit is contained in:
committed by
Android (Google) Code Review
commit
661e558321
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user