mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-11 20:07:51 +00:00
Fall back to user-configured MMS params on SecurityException
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user