I wanted to use the funcion goToSleep() in PowerManager Class to force
the device to sleep. But I'm getting an exception and the application
crashes when I call this function.I already have added the
DEVICE_POWER permission in Androidmanifest.xml. When I checked the
logs I could see below error:
I wanted to use the funcion goToSleep() in PowerManager Class to force
the device to sleep. But I'm getting an exception and the application
when I call this function.I already have added the DEVICE_POWER
permission in Androidmanifest.xml. When I checked the logs I could see
below error:
Hi,
I wanted to use the funcion goToSleep() in PowerManager Class to force
the device to sleep. But I'm getting an exception and the application
crashes when I call this function. I already have added the
DEVICE_POWER permission in Androidmanifest.xml. When I checked the
logs I could see below er
3 matches
Mail list logo