java.lang.SecurityException: Neither user 10031 nor current process has android.permission.DEVICE_POWER.

Stack Overflow | user2879697 | 5 months ago
  1. 0

    Device_POWER permission is not working for powerManager.goToSleep(SystemClock.uptimeMillis())

    Stack Overflow | 5 months ago | user2879697
    java.lang.SecurityException: Neither user 10031 nor current process has android.permission.DEVICE_POWER.
  2. 0

    screen off on button click

    Stack Overflow | 4 years ago | Geethu
    java.lang.SecurityException: Neither user 10079 nor current process has android.permission.DEVICE_POWER. 01-14 16:06:00.875: E/AndroidRuntime(9317): at android.os.Parcel.readException(Parcel.java:1322) 01-14 16:06:00.875: E/AndroidRuntime(9317): at android.os.Parcel.readException(Parcel.java:1276)
  3. 0

    [APP][REQUEST][CODE] Android PowerManager - … | Android Development and Hacking | XDA Forums

    xda-developers.com | 1 year ago
    java.lang.SecurityException: Neither user 10165 nor current process has android.permission.DEVICE_POWER.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    MULTI - MIUI v5 Multi Lang 3.4.12 | Page 5 | Unofficial International MIUI / Xiaomi Phone Support

    xiaomi.eu | 2 years ago
    java.lang.RuntimeException: Unable to resume activity {com.sec.android.app.camera/com.sec.android.app.camera.Camera}: java.lang.SecurityException: Neither user 10127 nor current process has android.permission.DEVICE_POWER.
  6. 0

    [Q][Dev] Screen Off Programmatically | Android Development and Hacking

    xda-developers.com | 8 months ago
    java.lang.SecurityException: Neither user 10182 nor current process has android.permission.DEVICE_POWER.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.SecurityException

      Neither user 10031 nor current process has android.permission.DEVICE_POWER.

      at android.os.Parcel.readException()
    2. Android Platform
      PowerManager.goToSleep
      1. android.os.Parcel.readException(Parcel.java:1465)
      2. android.os.Parcel.readException(Parcel.java:1419)
      3. android.os.IPowerManager$Stub$Proxy.goToSleep(IPowerManager.java:441)
      4. android.os.PowerManager.goToSleep(PowerManager.java:481)
      4 frames
    3. com.mdt.hds
      RemoteService$MessageHandler.handleMessage
      1. com.mdt.hds.service.RemoteService$MessageHandler.handleMessage(RemoteService.java:53)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:136)
      3. android.app.ActivityThread.main(ActivityThread.java:5001)
      3 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
      2 frames