vedhavyas / acra

Automatically exported from code.google.com/p/acra
0 stars 0 forks source link

SecurityException in Acra Code #121

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
My app uses the permission WAKE_LOCK.

However, I often receive following exception in my Google document:

"java.lang.SecurityException: Neither user 10068 nor current process has 
android.permission.WAKE_LOCK.
    at android.os.Parcel.readException(Parcel.java:1322)
    at android.os.Parcel.readException(Parcel.java:1276)
    at android.os.IPowerManager$Stub$Proxy.acquireWakeLock(IPowerManager.java:328)
    at android.os.PowerManager$WakeLock.acquire(PowerManager.java:253)
    at org.acra.ErrorReporter$ReportsSenderWorker.acquireWakeLock(ErrorReporter.java:162)
    at org.acra.ErrorReporter$ReportsSenderWorker.run(ErrorReporter.java:135)
"

I followed the Acra Wiki step by step. I don't see what's causing this error. 
Is it a bug? Why does Acra need a wake lock permission?

Original issue reported on code.google.com by r.wo...@gmail.com on 1 Apr 2012 at 10:37