mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-28 01:24:03 +03:00
dual-mode of DB fpr requery and room
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
05db482d06
commit
349d5fe19b
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ import javax.inject.Singleton;
|
||||||
|
|
||||||
@Module
|
@Module
|
||||||
public class DatabaseModule {
|
public class DatabaseModule {
|
||||||
public static final int DB_VERSION = 7;
|
public static final int DB_VERSION = 8;
|
||||||
|
|
||||||
@Provides
|
@Provides
|
||||||
@Singleton
|
@Singleton
|
||||||
|
@ -55,7 +55,7 @@ public class DatabaseModule {
|
||||||
.toLowerCase()
|
.toLowerCase()
|
||||||
.replace(" ", "_")
|
.replace(" ", "_")
|
||||||
.trim()
|
.trim()
|
||||||
+ ".sqlite_off",
|
+ ".sqlite",
|
||||||
context.getString(R.string.nc_talk_database_encryption_key),
|
context.getString(R.string.nc_talk_database_encryption_key),
|
||||||
DB_VERSION);
|
DB_VERSION);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue