MCPcopy Create free account
hub / github.com/FongMi/TV / create

Method create

app/src/main/java/com/fongmi/android/tv/db/AppDatabase.java:92–101  ·  view source on GitHub ↗
(Context context)

Source from the content-addressed store, hash-verified

90 }
91
92 private static AppDatabase create(Context context) {
93 return Room.databaseBuilder(context, AppDatabase.class, NAME)
94 .addMigrations(Migrations.MIGRATION_30_31)
95 .addMigrations(Migrations.MIGRATION_31_32)
96 .addMigrations(Migrations.MIGRATION_32_33)
97 .addMigrations(Migrations.MIGRATION_33_34)
98 .addMigrations(Migrations.MIGRATION_34_35)
99 .fallbackToDestructiveMigration(true)
100 .allowMainThreadQueries().build();
101 }
102
103 public abstract KeepDao getKeepDao();
104

Callers 3

getMethod · 0.95
buildRequestBodyMethod · 0.45
buildRequestMessageMethod · 0.45

Calls 1

buildMethod · 0.45

Tested by

no test coverage detected