Raised deprecation level on old database
This commit is contained in:
parent
2624706c69
commit
d4561507b8
@ -29,9 +29,9 @@ open class App : Application(), Application.ActivityLifecycleCallbacks {
|
|||||||
|
|
||||||
lateinit var protectedContext: Context
|
lateinit var protectedContext: Context
|
||||||
|
|
||||||
@Deprecated("Use dependency injection")
|
@Deprecated("Use dependency injection", level = DeprecationLevel.ERROR)
|
||||||
val prefs: SharedPreferences by inject()
|
val prefs: SharedPreferences by inject()
|
||||||
@Deprecated("Use dependency injection")
|
@Deprecated("Use dependency injection", level = DeprecationLevel.ERROR)
|
||||||
val DB: MagiskDB by inject()
|
val DB: MagiskDB by inject()
|
||||||
|
|
||||||
@Volatile
|
@Volatile
|
||||||
|
@ -20,7 +20,10 @@ import java.util.Date;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
import kotlin.DeprecationLevel;
|
||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
@kotlin.Deprecated(message = "", level = DeprecationLevel.ERROR)
|
||||||
public class MagiskDB {
|
public class MagiskDB {
|
||||||
|
|
||||||
private static final String POLICY_TABLE = "policies";
|
private static final String POLICY_TABLE = "policies";
|
||||||
|
Loading…
Reference in New Issue
Block a user