Android kills my app when I deactivate it
Hello,
I have a problem when (for example) the user receives a call or he press the home button.
I have set the DEACTIVATE and the ACTIVATE handlers and when the user for some reason "iconizes" my app, I set the systemIdleMode back to NORMAL and I show the user a "welcome back" window when he switches again on my app.
The problem is that Android keeps killing my app (not always but often) quite instantly
When it does not, I see that the CPU is used at 0.98% and RAM is about 35 Mb so I do not think it's so consuming.
Do this happens also to you?
Any hint/suggestion?
Thanks in advance