-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
Crash when activity re-created with set background process limit as 0 #518
Comments
A few questions / investigation tips:
|
My sample code About above suggestions Suggestion 6 is fine.It will not crash when reenter app after exit from background. |
How to set background process as 0
http://www.tomsguide.com/faq/id-2316489/limit-background-process-android-device.html
A fragment in activity and execute below.
It's everything well. The image view display picture correctly.
But I press home key to exit app and next step enter the other app and exit after launched.
At latest, I return to my app and crash right now.
I try modify
to
It still crash again.
I comment
//Glide.with(activity).load(url).asBitmap().into(imageView);
and run the above flow. It is everything well.
My device is LG G3 Android 5.0.1
It display msg about
The text was updated successfully, but these errors were encountered: