summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/gallery3d/app/Wallpaper.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/app/Wallpaper.java b/src/com/android/gallery3d/app/Wallpaper.java
index 4887e7d2d..2022f5a4a 100644
--- a/src/com/android/gallery3d/app/Wallpaper.java
+++ b/src/com/android/gallery3d/app/Wallpaper.java
@@ -31,6 +31,8 @@ import com.android.gallery3d.common.ApiHelper;
import com.android.gallery3d.filtershow.crop.CropActivity;
import com.android.gallery3d.filtershow.crop.CropExtras;
+import java.lang.IllegalArgumentException;
+
/**
* Wallpaper picker for the gallery application. This just redirects to the
* standard pick action.
@@ -107,6 +109,8 @@ public class Wallpaper extends Activity {
return;
} catch (ActivityNotFoundException anfe) {
// ignored; fallthru to existing crop activity
+ } catch (IllegalArgumentException iae) {
+ // ignored; fallthru to existing crop activity
}
}