summaryrefslogtreecommitdiffstats
path: root/WallpaperPicker
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2014-02-28 18:00:42 +0100
committerSelim Cinek <cinek@google.com>2014-02-28 18:03:15 +0100
commit3aa28319ceca347dfd4958ca95b94652bb8e2a3d (patch)
treef8ffd1d5735cce6f6e1b3727eeb4b8bf78f901b7 /WallpaperPicker
parent4f462f4a8b9fc6897d9fab9ad31c06e0b8f79373 (diff)
downloadandroid_packages_apps_Trebuchet-3aa28319ceca347dfd4958ca95b94652bb8e2a3d.tar.gz
android_packages_apps_Trebuchet-3aa28319ceca347dfd4958ca95b94652bb8e2a3d.tar.bz2
android_packages_apps_Trebuchet-3aa28319ceca347dfd4958ca95b94652bb8e2a3d.zip
Changed inconsistency when selecting default wallpaper, where it did not go back to home.
Bug: 13219313 Change-Id: I4961c6724a1550dbae126f97e45dc166cbe9a565
Diffstat (limited to 'WallpaperPicker')
-rw-r--r--WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java b/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java
index 80c649ac9..3f3dca8f9 100644
--- a/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java
+++ b/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java
@@ -257,6 +257,7 @@ public class WallpaperPickerActivity extends WallpaperCropActivity {
public void onSave(WallpaperPickerActivity a) {
try {
WallpaperManager.getInstance(a).clear();
+ a.setResult(RESULT_OK);
} catch (IOException e) {
Log.w("Setting wallpaper to default threw exception", e);
}