Hi All, I am getting a exception in PowerManager class if I press the power button when my application is in foreground. The device reboots everytime I press the power button with my application in foreground. Sharing the system logs below :
--------- beginning of system
2019-10-18 12:05:08.189 9301-9458/? I/PowerManagerService: Going to sleep due to power button (uid 1000)...
2019-10-18 12:05:08.192 9301-9301/? E/InputMethodManagerService: Ignoring updateSystemUiLocked due to an invalid token. uid:1000 token:null