Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(使用帮助)关于如何使用Activity白名单 #7

Open
zhangzhao4444 opened this issue Jan 31, 2018 · 0 comments
Open

(使用帮助)关于如何使用Activity白名单 #7

zhangzhao4444 opened this issue Jan 31, 2018 · 0 comments

Comments

@zhangzhao4444
Copy link
Owner

使用acitivity白名单可做更细粒度场景控制。如仅想monkey部分页面场景

白名单:
参数 --act-whitelist-file  /sdcard/awl.strings

awl.strings 格式如:
tv.panda.xxx.anchor.LiveRecorderActivity
tv.panda.xxx.list.view.activity.HistoryActivity

黑名单:
--act-blacklist-file xxx

实现原理:
hook startActivityLocked() api,非白则拒绝start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant