File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
app/src/main/java/com/lt2333/wooboxforcoloros/hook/app/systemui/qs Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 11package com.lt2333.wooboxforcoloros.hook.app.systemui.qs
22
3+ import com.github.kyuubiran.ezxhelper.utils.findMethod
34import com.lt2333.wooboxforcoloros.util.hasEnable
45import com.lt2333.wooboxforcoloros.util.hookBeforeMethod
56import com.lt2333.wooboxforcoloros.util.xposed.base.HookRegister
@@ -8,12 +9,10 @@ object RemoveFooterSecurityWarn : HookRegister() {
89
910 override fun init () {
1011 hasEnable(" remove_footer_security_warn" ) {
11- " com.oplusos.systemui.qs.widget.OplusQSSecurityText" .hookBeforeMethod(
12- getDefaultClassLoader(),
13- " shouldBeVisible" ,
14- ) {
15- // 未展开时的列数
16- it.result = false
12+ findMethod(" com.oplusos.systemui.qs.widget.OplusQSSecurityText" ) {
13+ name == " handleRefreshState"
14+ }.hookBeforeMethod {
15+ it.result = null
1716 }
1817 }
1918 }
You can’t perform that action at this time.
0 commit comments