Skip to content

Commit ca96089

Browse files
authored
Forbid main thread queries from room (#6224)
1 parent 3492230 commit ca96089

File tree

1 file changed

+0
-1
lines changed
  • common/src/main/kotlin/io/homeassistant/companion/android/database

1 file changed

+0
-1
lines changed

common/src/main/kotlin/io/homeassistant/companion/android/database/AppDatabase.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ abstract class AppDatabase : RoomDatabase() {
182182
appContext = context
183183
return Room
184184
.databaseBuilder(context, AppDatabase::class.java, DATABASE_NAME)
185-
.allowMainThreadQueries()
186185
.addMigrations(
187186
MIGRATION_1_2,
188187
MIGRATION_2_3,

0 commit comments

Comments
 (0)