I've sent the message numerous times, but I assume it's being moderated from 
some reason.  I'll try again:

I'm not sure if I completely grasp the Android permissions model.  I recently 
started working on a simple widget to put the phone to sleep.  Of course, it 
always gets a security exception because an ordinary user app isn't allowed to 
call the PowerManager method 'goToSleep' because it's requires the 'signature' 
level permission DEVICE_POWER.  But I could find nowhere in the docs or on 
Google that officially says that.

Is there some document that lists the permission levels of android platform 
defined permissions?

Or, am I looking at permissions completely wrong?

Thanks,

Richard

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to