mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 10:17:38 +00:00
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
|
||||
|
||||
@Deprecated("Use dependency injection")
|
||||
@Deprecated("Use dependency injection", level = DeprecationLevel.ERROR)
|
||||
val prefs: SharedPreferences by inject()
|
||||
@Deprecated("Use dependency injection")
|
||||
@Deprecated("Use dependency injection", level = DeprecationLevel.ERROR)
|
||||
val DB: MagiskDB by inject()
|
||||
|
||||
@Volatile
|
||||
|
@ -20,7 +20,10 @@ import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import kotlin.DeprecationLevel;
|
||||
|
||||
@Deprecated
|
||||
@kotlin.Deprecated(message = "", level = DeprecationLevel.ERROR)
|
||||
public class MagiskDB {
|
||||
|
||||
private static final String POLICY_TABLE = "policies";
|
||||
|
Loading…
x
Reference in New Issue
Block a user