Hi,

I got an issue restoring the activity state after camera launches.

When I launch the camera from an activity for results, sometimes the app 
just terminates without indicating anything. After looking at logcat on 
these scenarios, I could find the following error.

E/OpenGLRenderer: SFEffectCache:clear(), mSize = 0


So far, this was occurred in samsung devices (Note 2 and S5) and only when 
using the camera.

I have handled savedInstance through onSaveInstanceState() and 
onRestoreInstanceState(). When this happens onRestoreInstanceState() never 
gets called.

This question has been asked in many occasions, but I couldn't find a 
proper answer.

I cannot figure out a proper solution. Right now I'm trying to use the 
camera directly without using the camera app through intent.

Please help.


Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/43e6f0a1-6592-4560-9d86-e4eeef6c6ec4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to