Remove FreeReflection
This commit is contained in:
@@ -120,8 +120,6 @@ dependencies {
|
|||||||
implementation "com.google.guava:guava:33.0.0-android"
|
implementation "com.google.guava:guava:33.0.0-android"
|
||||||
playImplementation "com.google.android.play:app-update-ktx:2.1.0"
|
playImplementation "com.google.android.play:app-update-ktx:2.1.0"
|
||||||
playImplementation "com.google.android.gms:play-services-mlkit-barcode-scanning:18.3.1"
|
playImplementation "com.google.android.gms:play-services-mlkit-barcode-scanning:18.3.1"
|
||||||
|
|
||||||
implementation "com.github.tiann:FreeReflection:3.1.0"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def playCredentialsJSON = rootProject.file("service-account-credentials.json")
|
def playCredentialsJSON = rootProject.file("service-account-credentials.json")
|
||||||
|
|||||||
@@ -16,14 +16,12 @@ import io.nekohasekai.sfa.bg.UpdateProfileWork
|
|||||||
import kotlinx.coroutines.Dispatchers
|
import kotlinx.coroutines.Dispatchers
|
||||||
import kotlinx.coroutines.GlobalScope
|
import kotlinx.coroutines.GlobalScope
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
import me.weishu.reflection.Reflection
|
|
||||||
import io.nekohasekai.sfa.Application as BoxApplication
|
import io.nekohasekai.sfa.Application as BoxApplication
|
||||||
|
|
||||||
class Application : Application() {
|
class Application : Application() {
|
||||||
|
|
||||||
override fun attachBaseContext(base: Context?) {
|
override fun attachBaseContext(base: Context?) {
|
||||||
super.attachBaseContext(base)
|
super.attachBaseContext(base)
|
||||||
Reflection.unseal(base)
|
|
||||||
application = this
|
application = this
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user