mirror of
https://github.com/oxen-io/session-android.git
synced 2023-12-14 02:53:01 +01:00
Catch exception triggered by bug in telephony provider during import.
This commit is contained in:
parent
bac6b78b11
commit
34822557a6
1 changed files with 3 additions and 1 deletions
|
@ -103,7 +103,9 @@ public class SmsMigrator {
|
|||
} else {
|
||||
return null;
|
||||
}
|
||||
|
||||
} catch (IllegalStateException iae) {
|
||||
Log.w("SmsMigrator", iae);
|
||||
return null;
|
||||
} finally {
|
||||
if (cursor != null)
|
||||
cursor.close();
|
||||
|
|
Loading…
Reference in a new issue