A little wallpaper cleanup.

This commit is contained in:
Dianne Hackborn
2009-08-13 16:50:18 -07:00
parent 48a388abfe
commit 49cdb1b18c
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -200,7 +200,6 @@ public final class Launcher extends Activity implements View.OnClickListener, On
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER);
mInflater = getLayoutInflater();
+1 -1
View File
@@ -461,7 +461,7 @@ public class Workspace extends ViewGroup implements DropTarget, DragSource, Drag
}
private void updateWallpaperOffset(int scrollRange) {
mWallpaperManager.setWallpaperOffsets(getWindowToken(), mScrollX / (float) scrollRange, -30);
mWallpaperManager.setWallpaperOffsets(getWindowToken(), mScrollX / (float) scrollRange, 0);
}
@Override