It might be that having root permissions might be not sufficient to
use goToSleep() correctly.

I found in one of the threads that you also want to make sure that
your app is singed as system app.

http://groups.google.com/group/android-developers/browse_thread/thread/fe9f0d0e6484e76f/8b2b5eab993ca82d?lnk=raot

Let me know what you find out. I am curious whether you find a way to
resolve this problem.

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.



On Jul 26, 8:47 pm, Sansiro <wangjiangfeng0...@gmail.com> wrote:
> PowerManager.gotosleep() method seems to not work .
> There is no permission problem because my program has the root
> permission.
>
> So any other suggestion?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to