Merge "Fix 3369762: long press should take you into customization mode" into honeycomb

This commit is contained in:
Patrick Dubroy
2011-01-19 14:59:29 -08:00
committed by Android (Google) Code Review
+3 -1
View File
@@ -2231,7 +2231,9 @@ public final class Launcher extends Activity
mWorkspace.setAllowLongPress(false);
mWorkspace.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS,
HapticFeedbackConstants.FLAG_IGNORE_VIEW_SETTING);
if (!LauncherApplication.isScreenXLarge()) {
if (LauncherApplication.isScreenXLarge()) {
addItems();
} else {
showAddDialog(longClickCellInfo.cellX, longClickCellInfo.cellY);
}
} else {