Catch exception triggered by bug in telephony provider during import.

This commit is contained in:
Moxie Marlinspike 2013-02-24 11:59:43 -08:00
parent bac6b78b11
commit 34822557a6

View File

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