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

需求:添加解析AndroidManifest 文件中Activity的一些属性 #280

Closed
hcanyz opened this issue Aug 21, 2016 · 0 comments
Closed

Comments

@hcanyz
Copy link

hcanyz commented Aug 21, 2016

期望:
1.项目中有一些功能(视频播放,拍照等) 需要AndroidManifest activity中指定
android:configChanges="orientation|keyboardHidden|screenSize" 属性。
该属性并不能通过代码设置,而且控制Activity 是否走onconfigchange流程的控制器在ActivityManagerService中,无法hook过程。
需要在InstrumentationWrapper dequeueStubActivity时添加分支,如果有configChages属性,则启动对应的真实activity

 2.类似1, android:process 属性, 等等
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