Merge "Fixes a bug when using the prediction row view and changing screen orientation." into ub-launcher3-master

This commit is contained in:
Mario Bertschler
2017-11-30 16:35:46 +00:00
committed by Android (Google) Code Review
2 changed files with 7 additions and 1 deletions

View File

@@ -543,6 +543,9 @@ public class AllAppsContainerView extends RelativeLayout implements DragSource,
}
private void setupHeader() {
if (mFloatingHeaderHandler == null) {
return;
}
mHeader.setVisibility(View.VISIBLE);
int contentHeight = mLauncher.getDeviceProfile().allAppsCellHeightPx;
if (!mUsingTabs) {