Let's look at some important member objects in Ms..
M policy.
An instance of window manager policy.
A Window Manager Policy is an interface class of window management.
It is used to define the general specifications to be followed by the window management and it provides
all the specific UI behaviour of the window manager.
And the concrete implementation of window manager policy is for window manager and the Foreign Window
Manager object is created when the WMR is created.
The Foreign Window Manager, as you could see, it implements the window manager policy.
So if you want to look for all the policies of the window manager service, then we could do Adams's
on window policy.
Like, for example, I have the emulator open here, so let's take a dump of the current window, policy
it into a, d, b shell dumps this window policy.
This will show all the policies of the window manager.
So this is a current policy, state of window manager.
So here you can see all the constants which are actually defining the behavior of the UI.
The UI mode is normal, long press on back behavior on long press, pack nothing and double tap on home
behavior doesn't do anything.
So similarly, it has all these policies defined here.