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

oppo手机崩溃了 #2

Open
renhuan opened this issue Sep 7, 2022 · 0 comments
Open

oppo手机崩溃了 #2

renhuan opened this issue Sep 7, 2022 · 0 comments

Comments

@renhuan
Copy link

renhuan commented Sep 7, 2022

 Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.content.Intent.getFlags()' on a null object reference
    at android.app.ContextImpl.startActivity(ContextImpl.java:1079)
    at android.app.ContextImpl.startActivity(ContextImpl.java:1060)
    at android.content.ContextWrapper.startActivity(ContextWrapper.java:421)
    at com.anna.lib_keepalive.utils.PhoneUtils.showActivity(PhoneUtils.java:18)
    at com.anna.lib_keepalive.utils.PhoneUtils.goOPPOSetting(PhoneUtils.java:76)
    at com.anna.lib_keepalive.utils.PhoneUtils.setReStartAction(PhoneUtils.java:37)
    at com.anna.lib_keepalive.service.KeepAliveService.initStrategy(KeepAliveService.java:135)
    at com.anna.lib_keepalive.service.KeepAliveService.onCreate(KeepAliveService.java:66)
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