Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 11bf46c0 authored by Mangesh Ghiware's avatar Mangesh Ghiware Committed by Android Git Automerger
Browse files

am a4f2389c: Catch all the exceptions.

* commit 'a4f2389c':
  Catch all the exceptions.
parents 94678fc1 a4f2389c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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
                    }
                }