From a2f35d358f12a4714f2fb4b07356456225837e40 Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Fri, 15 Nov 2013 15:39:34 -0800 Subject: Updating LauncherModel filtering to use screen ids. (Bug 11685286) - Fixes the issue with the current page not synchronously binding Change-Id: I3dfa45cc1777f846c77f3e86059dfb715553e1a3 --- src/com/android/launcher3/Workspace.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/android/launcher3/Workspace.java') diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index a24c94b8c..eeb49f8e0 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java @@ -4103,7 +4103,7 @@ public class Workspace extends SmoothPagedView return mDragInfo; } - public int getRestorePage() { + public int getCurrentPageOffsetFromCustomContent() { return getNextPage() - numCustomPages() - (hasExtraEmptyScreenLeft() ? 1 : 0); } -- cgit v1.2.3