From 68c29f283d6d3c9664852e2ae672b93fe409fa2f Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Wed, 2 Jan 2013 10:06:34 -0800 Subject: [PATCH] Fall back to user-configured MMS params on SecurityException --- src/org/thoughtcrime/securesms/mms/MmsCommunication.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/org/thoughtcrime/securesms/mms/MmsCommunication.java b/src/org/thoughtcrime/securesms/mms/MmsCommunication.java index 3c48304a28..184042b3a2 100644 --- a/src/org/thoughtcrime/securesms/mms/MmsCommunication.java +++ b/src/org/thoughtcrime/securesms/mms/MmsCommunication.java @@ -96,6 +96,9 @@ public class MmsCommunication { } catch (SQLiteException sqe) { Log.w("MmsCommunication", sqe); return getLocallyConfiguredMmsConnectionParameters(context); + } catch (SecurityException se) { + Log.w("MmsCommunication", se); + return getLocallyConfiguredMmsConnectionParameters(context); } finally { if (cursor != null) cursor.close();