Hi All: At android power manage service, it have early suspend and late resume mechanism to control devices such as LCD backlight, touchscreen, when wake lock free/expired or user request suspend, the kernel will call early suspend workqueue, and execute the registered early suspend handler. when the user(PowerManageService) request "on" (echo "on" > /sys/power/state) , the late resume handlers will be called.
My question is, 1, when the PowerManagerService(PowerManagerSerivce.java) write "on" to /sys/power/state (using SetScreenState(true) ), 2, and how the services know the resume of system to write /sys/power/state ? Thanks in advance, --- Best regards, Zhang Jiejing -- 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 To unsubscribe, reply using "remove me" as the subject.