Catch all the exceptions.
Bug: 11156898
Change-Id: Ic16a858bb5d1f8838ffa201c910b617f859c9074
diff --git a/src/com/android/gallery3d/app/Wallpaper.java b/src/com/android/gallery3d/app/Wallpaper.java
index 4887e7d..2022f5a 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.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 @@
return;
} catch (ActivityNotFoundException anfe) {
// ignored; fallthru to existing crop activity
+ } catch (IllegalArgumentException iae) {
+ // ignored; fallthru to existing crop activity
}
}