Merge "Remove relayouts b/29945805" into ub-launcher3-calgary
This commit is contained in:
committed by
Android (Google) Code Review
commit
7111a26813
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user