mirror of https://github.com/M66B/FairEmail.git
Suppress deprecation of traditional database transactions
This commit is contained in:
parent
27416553c8
commit
116e48acda
|
@ -835,6 +835,24 @@ public abstract class DB extends RoomDatabase {
|
|||
.build();
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("deprecation")
|
||||
public void beginTransaction() {
|
||||
super.beginTransaction();
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("deprecation")
|
||||
public void setTransactionSuccessful() {
|
||||
super.setTransactionSuccessful();
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("deprecation")
|
||||
public void endTransaction() {
|
||||
super.endTransaction();
|
||||
}
|
||||
|
||||
public static class Converters {
|
||||
@TypeConverter
|
||||
public static String[] toStringArray(String value) {
|
||||
|
|
Loading…
Reference in New Issue