zmieniono dostęp do konstruktora
This commit is contained in:
parent
041a65bcc3
commit
c08221f98d
@ -20,7 +20,7 @@ public abstract class NoteRoomDatabase extends RoomDatabase {
|
||||
|
||||
private static volatile NoteRoomDatabase INSTANCE;
|
||||
|
||||
static NoteRoomDatabase getNoteRoomDatabase(final Context context) {
|
||||
public static NoteRoomDatabase getNoteRoomDatabase(final Context context) {
|
||||
if (INSTANCE == null) {
|
||||
synchronized (NoteRoomDatabase.class) {
|
||||
if (INSTANCE == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user