Fall back to user-configured MMS params on SecurityException

This commit is contained in:
Moxie Marlinspike 2013-01-02 10:06:34 -08:00
parent 8e720e0ede
commit 68c29f283d

View File

@ -96,6 +96,9 @@ public class MmsCommunication {
} catch (SQLiteException sqe) { } catch (SQLiteException sqe) {
Log.w("MmsCommunication", sqe); Log.w("MmsCommunication", sqe);
return getLocallyConfiguredMmsConnectionParameters(context); return getLocallyConfiguredMmsConnectionParameters(context);
} catch (SecurityException se) {
Log.w("MmsCommunication", se);
return getLocallyConfiguredMmsConnectionParameters(context);
} finally { } finally {
if (cursor != null) if (cursor != null)
cursor.close(); cursor.close();