Fall back to user-configured MMS params on SecurityException

master
Moxie Marlinspike 2013-01-02 10:06:34 -08:00
parent 8e720e0ede
commit 68c29f283d
1 changed files with 3 additions and 0 deletions

View File

@ -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();