PowerManager is the public API. Context.getSystemService() returns public APIs.
PowerManagerService is private implementation. More than that, it is private implementation that does not run in your process, so you can not directly access in any way. On Mon, Aug 6, 2012 at 12:20 PM, macias <[email protected]>wrote: > Bad news, but thank you. I wonder how it is possible, that (according to > Android sources) what is added to services is PowerManagerService, but what > is get is PowerManager (not service) -- when using "legal" methods such as > getSystemService. > > Anyway, quite easy task -- for learning Android -- as building custom > screensaver turned out to be paramount problem :-( > > Cheers, > > -- > 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 > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

