Fix issues with sizing wallpapers

- properly sync size across Launcher and wallpaper
picker
- remove code that was calculating wrong default
wallpaper size

Bug: 11324470

Change-Id: Ib4e7202363c56e3cb0c09d4448a7f96eef0a0915
This commit is contained in:
Michael Jurka
2013-10-31 16:32:43 +01:00
parent 9789c42eab
commit 454db97700
2 changed files with 9 additions and 34 deletions

View File

@@ -1188,7 +1188,7 @@ public class Workspace extends SmoothPagedView
protected void setWallpaperDimension() {
String spKey = WallpaperCropActivity.getSharedPreferencesKey();
SharedPreferences sp = mLauncher.getSharedPreferences(spKey, Context.MODE_PRIVATE);
SharedPreferences sp = mLauncher.getSharedPreferences(spKey, Context.MODE_MULTI_PROCESS);
WallpaperPickerActivity.suggestWallpaperDimension(mLauncher.getResources(),
sp, mLauncher.getWindowManager(), mWallpaperManager);
}