mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-30 05:37:43 +00:00
[SMS Helper] Also handle IllegalArgumentException when constructing a MessageAccessException
This commit is contained in:
parent
460bcba9d5
commit
3c5f91d9a6
@ -363,7 +363,7 @@ public class SMSHelper {
|
||||
}
|
||||
} while ((numberToGet == null || toReturn.size() < numberToGet) && myCursor.moveToNext());
|
||||
}
|
||||
} catch (SQLiteException e) {
|
||||
} catch (SQLiteException | IllegalArgumentException e) {
|
||||
String[] unfilteredColumns = {};
|
||||
try (Cursor unfilteredColumnsCursor = context.getContentResolver().query(uri, null, null, null, null)) {
|
||||
if (unfilteredColumnsCursor != null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user