keep history after reset to JRN40G
diff --git a/src/com/android/launcher2/Folder.java b/src/com/android/launcher2/Folder.java
index 92cabe5..e8f1ac9 100644
--- a/src/com/android/launcher2/Folder.java
+++ b/src/com/android/launcher2/Folder.java
@@ -323,6 +323,7 @@
             int rhIndex = rhs.cellY * mNumCols + rhs.cellX;
             return (lhIndex - rhIndex);
         }
+
     }
 
     private void placeInReadingOrder(ArrayList<ShortcutInfo> items) {
@@ -334,8 +335,7 @@
                 maxX = item.cellX;
             }
         }
-
-        GridComparator gridComparator = new GridComparator(maxX + 1);
+        GridComparator gridComparator = new GridComparator(maxX);
         Collections.sort(items, gridComparator);
         final int countX = mContent.getCountX();
         for (int i = 0; i < count; i++) {
@@ -383,7 +383,6 @@
         } else {
             mFolderName.setText("");
         }
-        updateItemLocationsInDatabase();
     }
 
     /**