Projects >> android_packages_apps_Trebuchet >>e3fe3f89ee956e8d7995c569948cb70765ec19b8

Chunk
Conflicting content
            widget.icon.dpi = dpi;
        }

<<<<<<< HEAD
        // Calculate the spans corresponding to any one of the orientations as it should not change
        // based on orientation.
        int[] minSpans = CellLayout.rectToCell(
                mIdp.portraitProfile, mContext, info.minResizeWidth, info.minResizeHeight, null);
        widget.minSpanX = (info.resizeMode & LauncherAppWidgetProviderInfo.RESIZE_HORIZONTAL) != 0
                ? minSpans[0] : -1;
        widget.minSpanY = (info.resizeMode & LauncherAppWidgetProviderInfo.RESIZE_VERTICAL) != 0
                ? minSpans[1] : -1;

=======
        widget.minSpanX = (info.resizeMode & LauncherAppWidgetProviderInfo.RESIZE_HORIZONTAL) != 0
                ? info.minSpanX : -1;
        widget.minSpanY = (info.resizeMode & LauncherAppWidgetProviderInfo.RESIZE_VERTICAL) != 0
                ? info.minSpanY : -1;
>>>>>>> 249a510ab318db461ce1ac86baca01021fe41a2c
        return widget;
    }
Solution content
            widget.icon.dpi = dpi;
        }

        // Calculate the spans corresponding to any one of the orientations as it should not change
        // based on orientation.
        int[] minSpans = CellLayout.rectToCell(
                mIdp.portraitProfile, mContext, info.minResizeWidth, info.minResizeHeight, null);
        widget.minSpanX = (info.resizeMode & LauncherAppWidgetProviderInfo.RESIZE_HORIZONTAL) != 0
                ? minSpans[0] : -1;
        widget.minSpanY = (info.resizeMode & LauncherAppWidgetProviderInfo.RESIZE_VERTICAL) != 0
                ? minSpans[1] : -1;

        return widget;
    }
File
LauncherBackupHelper.java
Developer's decision
Version 1
Kind of conflict
Array access
Comment
Method invocation
Variable