[app] Update HiddenApiBypass to 2.0
This commit is contained in:
parent
7c77589d35
commit
953c0394cc
|
|
@ -219,7 +219,7 @@ dependencies {
|
|||
implementation("io.noties.markwon:linkify:$markwonVersion")
|
||||
implementation("me.zhanghai.android.appiconloader:appiconloader-glide:1.3.1")
|
||||
implementation("me.zhanghai.android.fastscroll:library:1.1.5")
|
||||
implementation("org.lsposed.hiddenapibypass:hiddenapibypass:1.1")
|
||||
implementation("org.lsposed.hiddenapibypass:hiddenapibypass:2.0")
|
||||
implementation(project(":manager-service"))
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -50,7 +50,8 @@ public class App extends Application {
|
|||
|
||||
static {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
|
||||
HiddenApiBypass.setHiddenApiExemptions("L");
|
||||
// TODO: set specific class name instead of `L`
|
||||
HiddenApiBypass.addHiddenApiExemptions("L");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue