Cannot figure out the difference between PhoneWindowManager and WindowManagerService

178 views
Skip to first unread message

Kunal Sinha

unread,
Jan 5, 2010, 6:35:48 AM1/5/10
to android-...@googlegroups.com
Hi,

Both PhoneWindowManager and WindowManagerService implement WindowManagerPolicy and as such overriding its functions for handling the window

Can anyone please me the difference between the PhoneWindowManager and WindowManagerService?

Thanks,
Kunal

Dianne Hackborn

unread,
Jan 5, 2010, 4:26:09 PM1/5/10
to android-...@googlegroups.com
WindowManagerService is the core window manager.  PhoneWindowManager implements higher-level policies for the service, such as how to interact with the status bar, default handling of keys like home, etc.  WindowManagerService generally calls on to PhoneWindowManager (via the WindowManagerPolicy interface) at key points in its operation where some non-generic policy may be decided.

--

You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.



--
Dianne Hackborn
Android framework engineer
hac...@android.com

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.

Reply all
Reply to author
Forward
0 new messages