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

使用1 px应用保活 #2

Open
snowf07 opened this issue Sep 10, 2019 · 1 comment
Open

使用1 px应用保活 #2

snowf07 opened this issue Sep 10, 2019 · 1 comment

Comments

@snowf07
Copy link
Owner

snowf07 commented Sep 10, 2019

具体思路

根据监听系统锁屏广播去开启一个1px 的activity来提高进程优先级

@snowf07
Copy link
Owner Author

snowf07 commented Sep 10, 2019

测试机型反馈

Vivo x7Plus 5.0 5-10分钟会进入被杀死,无法接受到Umeng推送,20分钟后彻底杀死进程
Vivo Y66 Android 6.0 锁屏状态下12分钟左右被杀死
OPPO PBAM00  Android 8.0 锁屏状态保活 1个小时以上
Oppo A57 6.0 锁屏在后台无法收到锁屏广播.,导致1像素启动失败  
HuaWei CHM-CL00 Android 4.4 一个小时以上

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