Merge "Remove relayouts b/29945805" into ub-launcher3-calgary

This commit is contained in:
Hyunyoung Song
2016-07-04 08:53:37 +00:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 3 deletions
+2 -3
View File
@@ -220,11 +220,10 @@ public class Hotseat extends FrameLayout
}
public void setBackgroundTransparent(boolean enable) {
// This causes re-layout. Should replace the logic with simply setting the background alpha
if (enable) {
setBackground(null);
mBackground.setAlpha(0);
} else {
setBackground(mBackground);
mBackground.setAlpha(255);
}
}
@@ -444,5 +444,6 @@ public class AllAppsTransitionController implements TouchController, VerticalPul
if (!mLauncher.isAllAppsVisible()) {
setProgress(mShiftRange);
}
mHotseat.removeOnLayoutChangeListener(this);
}
}