mirror of
https://github.com/fankes/TSBattery.git
synced 2025-09-07 11:10:10 +08:00
Modify change isOnFailureThrowToApp to false for onAppLifecycle event in QQTIMHooker
This commit is contained in:
@@ -571,7 +571,7 @@ object QQTIMHooker : YukiBaseHooker() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun onHook() {
|
override fun onHook() {
|
||||||
onAppLifecycle {
|
onAppLifecycle(isOnFailureThrowToApp = false) {
|
||||||
attachBaseContext { baseContext, hasCalledSuper ->
|
attachBaseContext { baseContext, hasCalledSuper ->
|
||||||
if (hasCalledSuper.not()) baseConfiguration = baseContext.resources.configuration
|
if (hasCalledSuper.not()) baseConfiguration = baseContext.resources.configuration
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user