am 1111614b: am 3057b1c2: Fixing issue with folder opening in the wrong bounds (Bug. 11025207)

* commit '1111614b433f70673abc1eaac4a619d14d52e7e4':
  Fixing issue with folder opening in the wrong bounds (Bug. 11025207)
This commit is contained in:
Winson Chung
2013-10-10 17:43:17 -07:00
committed by Android Git Automerger
+1 -1
View File
@@ -888,7 +888,7 @@ public class Folder extends LinearLayout implements DragSource, View.OnClickList
int centerY = (int) (mTempRect.top + mTempRect.height() * scale / 2);
int centeredLeft = centerX - width / 2;
int centeredTop = centerY - height / 2;
int currentPage = mLauncher.getWorkspace().getCurrentPage();
int currentPage = mLauncher.getWorkspace().getNextPage();
// In case the workspace is scrolling, we need to use the final scroll to compute
// the folders bounds.
mLauncher.getWorkspace().setFinalScrollForPageChange(currentPage);