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

This commit is contained in:
Hyunyoung Song authored and Android (Google) Code Review committed 2016-07-04 08:53:37 +00:00
commit 7111a26813
2 files changed
+3 -3

No files matched your search

+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);
}
}