Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a63a587 authored by Mario Bertschler's avatar Mario Bertschler Committed by Android (Google) Code Review
Browse files

Merge "Fixes a bug when using the prediction row view and changing screen...

Merge "Fixes a bug when using the prediction row view and changing screen orientation." into ub-launcher3-master
parents 413e7d44 44607301
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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) {
+4 −1
Original line number Diff line number Diff line
@@ -68,7 +68,10 @@ public class PredictionRowView extends LinearLayout {
     * Sets the number of apps per row.
     */
    public void setNumAppsPerRow(int numPredictedAppsPerRow) {
        if (mNumPredictedAppsPerRow != numPredictedAppsPerRow) {
            mNumPredictedAppsPerRow = numPredictedAppsPerRow;
            onAppsUpdated();
        }
    }

    /**