Tornaco / Thanox

I am thanos! 😈 👌
https://tornaco.github.io/Thanox-Docs/
Apache License 2.0
2.01k stars 86 forks source link

情景模式中休眠对微信不生效 #366

Open loave opened 2 years ago

loave commented 2 years ago

休眠对微信不生效 设备:一加8t 版本:2.5.4

配置情景模式如下

[ { "name": "休眠应用", "description": "锁屏后休眠inactive中非当前的应用", "priority": 1, "condition": "screenOff == true", "actions": [ "for (String s : globalVarOf$inactive){if(s != activity.getFrontAppPackage() ){activity.setInactive(s)}};" ] } ]

inactive中配置bilibili和微信,锁屏后稍等一会,再解锁,在thanox中查看服务状态,bilibili已经是休眠状态,微信不是休眠状态

stale[bot] commented 8 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.