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 {
|
} else {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
} catch (IllegalStateException iae) {
|
||||||
|
Log.w("SmsMigrator", iae);
|
||||||
|
return null;
|
||||||
} finally {
|
} finally {
|
||||||
if (cursor != null)
|
if (cursor != null)
|
||||||
cursor.close();
|
cursor.close();
|
||||||
|
|
Loading…
Add table
Reference in a new issue