Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18ba42c2 authored by Nihar Thakkar's avatar Nihar Thakkar
Browse files

Renamed errors folder.

parent 78b2905b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -157,7 +157,7 @@ public class K9 extends Application
     *
     * Feature is enabled when DEBUG == true
     */
    public static final String ERROR_FOLDER_NAME = "K9mail-errors";
    public static final String ERROR_FOLDER_NAME = "eelo Mail-errors";

    /**
     * A reference to the {@link SharedPreferences} used for caching the last known database
+1 −1
Original line number Diff line number Diff line
@@ -6,6 +6,6 @@ import android.database.sqlite.SQLiteDatabase;

class MigrationTo61 {
    public static void removeErrorsFolder(SQLiteDatabase db) {
        db.execSQL("DELETE FROM folders WHERE name = 'K9mail-errors'");
        db.execSQL("DELETE FROM folders WHERE name = 'eelo Mail-errors'");
    }
}
+1 −1
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@ public class MigrationTest {
                "INSERT INTO folders VALUES (8,'Drafts',0,NULL,25,NULL,NULL,0,0,0,1,'FIRST_CLASS','INHERITED','FIRST_CLASS','INHERITED')",
                "INSERT INTO folders VALUES (13,'Spam',NULL,NULL,25,NULL,NULL,NULL,0,0,1,'NO_CLASS','INHERITED','FIRST_CLASS','INHERITED')",
                "INSERT INTO folders VALUES (14,'K9MAIL_INTERNAL_OUTBOX',NULL,NULL,25,NULL,NULL,NULL,0,0,1,'NO_CLASS','INHERITED','FIRST_CLASS','INHERITED')",
                "INSERT INTO folders VALUES (15,'K9mail-errors',NULL,NULL,25,NULL,NULL,NULL,0,0,1,'NO_CLASS','INHERITED','FIRST_CLASS','INHERITED')",
                "INSERT INTO folders VALUES (15,'eelo Mail-errors',NULL,NULL,25,NULL,NULL,NULL,0,0,1,'NO_CLASS','INHERITED','FIRST_CLASS','INHERITED')",
                "INSERT INTO folders VALUES (16,'dev',1453812012958,NULL,25,NULL,'uidNext=9',0,0,0,0,'INHERITED','SECOND_CLASS','NO_CLASS','INHERITED')",
        };
        for (String statement : folderSql) {