Fixing strict mode issues.

Change-Id: Ia4fb1f76e608ba1944b79e520444e229802f275a
This commit is contained in:
Winson Chung
2011-02-28 13:47:29 -08:00
parent 60b753b4cf
commit f7640c8bba
2 changed files with 16 additions and 3 deletions
+5 -1
View File
@@ -690,7 +690,11 @@ public class Workspace extends SmoothPagedView
// parallax effects
mWallpaperWidth = (int) (maxDim * wallpaperTravelToScreenWidthRatio(maxDim, minDim));
mWallpaperHeight = (int)(maxDim * wallpaperTravelToScreenHeightRatio(maxDim, minDim));
mWallpaperManager.suggestDesiredDimensions(mWallpaperWidth, mWallpaperHeight);
new Thread("setWallpaperDimension") {
public void run() {
mWallpaperManager.suggestDesiredDimensions(mWallpaperWidth, mWallpaperHeight);
}
}.start();
}
public void setVerticalWallpaperOffset(float offset) {