Merge "Fix 3369762: long press should take you into customization mode" into honeycomb
This commit is contained in:
commit
3c85ea5e98
1 file changed
+3
-1
@@ -2231,7 +2231,9 @@ public final class Launcher extends Activity
|
|||||||
mWorkspace.setAllowLongPress(false);
|
mWorkspace.setAllowLongPress(false);
|
||||||
mWorkspace.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS,
|
mWorkspace.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS,
|
||||||
HapticFeedbackConstants.FLAG_IGNORE_VIEW_SETTING);
|
HapticFeedbackConstants.FLAG_IGNORE_VIEW_SETTING);
|
||||||
if (!LauncherApplication.isScreenXLarge()) {
|
if (LauncherApplication.isScreenXLarge()) {
|
||||||
|
addItems();
|
||||||
|
} else {
|
||||||
showAddDialog(longClickCellInfo.cellX, longClickCellInfo.cellY);
|
showAddDialog(longClickCellInfo.cellX, longClickCellInfo.cellY);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in new issue
Block a user