Hello!
My app wakes the screen when receiving specific message via websocket. The communication is handled with a separate service.
I check if the activity I want to run is paused and I start it when the app receives the message.
If the screen is locked during StartActivity, the result is a black screen, some seconds delay and finally the system dialog for ANR.
If I press Close, the app restarts automatically.
What could I do to prevent the app freeze?
Thank you in advance.
My app wakes the screen when receiving specific message via websocket. The communication is handled with a separate service.
I check if the activity I want to run is paused and I start it when the app receives the message.
If the screen is locked during StartActivity, the result is a black screen, some seconds delay and finally the system dialog for ANR.
If I press Close, the app restarts automatically.
What could I do to prevent the app freeze?
Thank you in advance.