summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/Workspace.java
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2009-09-23 18:20:54 -0700
committerJoe Onorato <joeo@android.com>2009-09-23 18:20:54 -0700
commit33ed7b2f5a2456dc44dfe6e8f35a415c1495a87c (patch)
treed75307fb897a512b5c30495d196c2a8c329cf2ec /src/com/android/launcher2/Workspace.java
parent26646340d861a4c182e741be1ec677040dc7e979 (diff)
downloadandroid_packages_apps_Trebuchet-33ed7b2f5a2456dc44dfe6e8f35a415c1495a87c.tar.gz
android_packages_apps_Trebuchet-33ed7b2f5a2456dc44dfe6e8f35a415c1495a87c.tar.bz2
android_packages_apps_Trebuchet-33ed7b2f5a2456dc44dfe6e8f35a415c1495a87c.zip
Fix some crashes in launcher2.
http://b/issue?id=2142064
Diffstat (limited to 'src/com/android/launcher2/Workspace.java')
-rw-r--r--src/com/android/launcher2/Workspace.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/com/android/launcher2/Workspace.java b/src/com/android/launcher2/Workspace.java
index 9191bc665..37a244464 100644
--- a/src/com/android/launcher2/Workspace.java
+++ b/src/com/android/launcher2/Workspace.java
@@ -266,18 +266,10 @@ public class Workspace extends ViewGroup implements DropTarget, DragSource, Drag
clearVacantCache();
mCurrentScreen = Math.max(0, Math.min(currentScreen, getChildCount() - 1));
scrollTo(mCurrentScreen * getWidth(), 0);
- updateWallpaperOffset();
invalidate();
}
/**
- * Shows the default screen (defined by the firstScreen attribute in XML.)
- */
- void showDefaultScreen() {
- setCurrentScreen(mDefaultScreen);
- }
-
- /**
* Adds the specified child in the current screen. The position and dimension of
* the child are defined by x, y, spanX and spanY.
*