summaryrefslogtreecommitdiffstats
path: root/WallpaperPicker
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2014-02-28 18:00:42 +0100
committerDanesh M <daneshm90@gmail.com>2014-06-06 22:54:28 -0700
commita2f009489eee19dc70ac76247d887e5039d3ab97 (patch)
tree6d245b2d35e915703ca0373b19fdd49cbbd2b571 /WallpaperPicker
parent7b64088e052357b58e5a3a49f2f7b3674db3b807 (diff)
downloadandroid_packages_apps_Trebuchet-a2f009489eee19dc70ac76247d887e5039d3ab97.tar.gz
android_packages_apps_Trebuchet-a2f009489eee19dc70ac76247d887e5039d3ab97.tar.bz2
android_packages_apps_Trebuchet-a2f009489eee19dc70ac76247d887e5039d3ab97.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 f3104bbbe..0070add2a 100644
--- a/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java
+++ b/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java
@@ -261,6 +261,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);
}