Added fail-safe

This commit is contained in:
M66B 2022-11-12 09:08:06 +01:00
parent 1fe67df028
commit cf5bf2235c
1 changed files with 2 additions and 0 deletions

View File

@ -2570,6 +2570,8 @@ public abstract class DB extends RoomDatabase {
if (cursor.getString(5) == null) if (cursor.getString(5) == null)
editor.putBoolean("unset." + id + ".Sent", true); editor.putBoolean("unset." + id + ".Sent", true);
} }
} catch (Throwable ex) {
Log.e(ex);
} }
editor.apply(); editor.apply();
} }