mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 19:32:16 +00:00
Cleanup
This commit is contained in:
parent
1ca924ee11
commit
f737e42a62
@ -1,7 +1,6 @@
|
|||||||
package com.looker.droidify.database.dao
|
package com.looker.droidify.database.dao
|
||||||
|
|
||||||
import androidx.room.*
|
import androidx.room.*
|
||||||
import com.looker.droidify.database.entity.Ignored
|
|
||||||
|
|
||||||
interface BaseDao<T> {
|
interface BaseDao<T> {
|
||||||
@Insert
|
@Insert
|
||||||
@ -16,9 +15,3 @@ interface BaseDao<T> {
|
|||||||
@Delete
|
@Delete
|
||||||
fun delete(obj: T)
|
fun delete(obj: T)
|
||||||
}
|
}
|
||||||
|
|
||||||
@Dao
|
|
||||||
interface LockDao : BaseDao<Ignored> {
|
|
||||||
@Query("DELETE FROM memory_lock WHERE packageName = :packageName")
|
|
||||||
fun delete(packageName: String)
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user