I am working on calling feature and i want an activity to be opened and the screen to wake up whenever there is an incoming call. I am able to start the activity but am not able to wake up the screen. I have tried as many solutions available here on Stackoverflow, still no luck.
I am providing the links of few of the solutions i have tried..
Turning on screen programmatically
Light up screen when notification received android
Can anyone help me out with how can I achieve this?