diff options
| author | Chris Soyars <ctso@ctso.me> | 2010-05-01 14:36:58 -0400 |
|---|---|---|
| committer | Chris Soyars <ctso@ctso.me> | 2010-05-01 14:36:58 -0400 |
| commit | b8820d500406b26d4821c4dd2b9c24dc14d3ec34 (patch) | |
| tree | 3a580d68ead9688923ed781298135f4e7351c6b3 | |
| parent | df568ef031f934a77fac8e0db68953aeef2ede96 (diff) | |
| download | android_packages_wallpapers_Basic-eclair.tar.gz android_packages_wallpapers_Basic-eclair.tar.bz2 android_packages_wallpapers_Basic-eclair.zip | |
Fix merge fail.eclair
| -rw-r--r-- | src/com/android/wallpaper/nexus/NexusRS.java | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/com/android/wallpaper/nexus/NexusRS.java b/src/com/android/wallpaper/nexus/NexusRS.java index 60a826c..26b8b51 100644 --- a/src/com/android/wallpaper/nexus/NexusRS.java +++ b/src/com/android/wallpaper/nexus/NexusRS.java @@ -294,31 +294,6 @@ class NexusRS extends RenderScriptScene implements mWorldState = new WorldState(); mWorldState.mode = 0; // standard nexus mode - /* Try to load a user-specified colorscheme */ - - try { - mCurrentPreset = Integer.valueOf(mPrefs.getString("colorScheme", "-1")); - } catch (NumberFormatException e) { - mCurrentPreset = -1; // We check this again later. - } - - try { - mWorldState.mode = mResources.getInteger(R.integer.nexus_mode); - } catch (Resources.NotFoundException exc) { - mWorldState.mode = 0; // standard nexus mode - } - - /* - * Sholes devices may specify nexus_mode=1 which means they want to use - * the "sholes red" colorscheme. - */ - if (mWorldState.mode == 1 && mCurrentPreset == -1) { - mCurrentPreset = 6; // Sholes Red - } else if (mWorldState.mode == 0 && mCurrentPreset == -1) { - mCurrentPreset = DEFAULT_PRESET; - } - ->>>>>>> 34c69874e9157f9e613e83866dc6bde3d6811d49 makeNewState(); mStateType = Type.createFromClass(mRS, WorldState.class, 1, "WorldState"); |
