Try this permission:
android.permission.WRITE_SETTINGS

On 25 Jun., 13:26, hunter <jun.hun...@gmail.com> wrote:
> Hi, all:
>    I want to set system clock by SystemClock.setCurrentTimeMillis, but
> met following error:
>
> W/SystemClock( 1287): Unable to open alarm driver: Permission denied
>
>    So, can someone tell me which permission I should acquire and how
> to acquire it?
>    Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to