|
|
|
@ -617,6 +617,7 @@ public abstract class DB extends RoomDatabase {
|
|
|
|
|
dropTriggers(db);
|
|
|
|
|
|
|
|
|
|
createTriggers(db);
|
|
|
|
|
dataUpdates(db);
|
|
|
|
|
|
|
|
|
|
ContentValues cv = new ContentValues();
|
|
|
|
|
cv.put("host", "imap.mnet-online.de");
|
|
|
|
@ -740,6 +741,19 @@ public abstract class DB extends RoomDatabase {
|
|
|
|
|
" END");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static void dataUpdates(SupportSQLiteDatabase db) {
|
|
|
|
|
try {
|
|
|
|
|
db.execSQL("UPDATE identity" +
|
|
|
|
|
" SET use_ip = 0" +
|
|
|
|
|
" WHERE use_ip = 1 AND " +
|
|
|
|
|
"(host = 'mail.optonline.net'" +
|
|
|
|
|
" OR host = 'mail.optimum.net'" +
|
|
|
|
|
" OR host = 'smtp.suddenlink.net')");
|
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
|
Log.e(ex);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static void logMigration(int startVersion, int endVersion) {
|
|
|
|
|
Map<String, String> crumb = new HashMap<>();
|
|
|
|
|
crumb.put("startVersion", Integer.toString(startVersion));
|
|
|
|
@ -3124,7 +3138,7 @@ public abstract class DB extends RoomDatabase {
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static void defaultSearches(SupportSQLiteDatabase db, Context context) {
|
|
|
|
|
private static void defaultSearches(SupportSQLiteDatabase db, Context context) {
|
|
|
|
|
try {
|
|
|
|
|
BoundaryCallbackMessages.SearchCriteria criteria;
|
|
|
|
|
|
|
|
|
|