The windows list being coupled to the moveToTop() method has the effect of making the WindowManager layout tricker since it will not be getting the windows in the same order each time.
It seems that a z-ordering mechanism could be added to afford WindowManagers an easier time of things.
I'm not sure I follow, the z-ordering of the windows is the same as the order of the windows in the list that is passed to WindowsManager#prepareWindows
The windows list being coupled to the moveToTop() method has the effect of making the WindowManager layout tricker since it will not be getting the windows in the same order each time.
It seems that a z-ordering mechanism could be added to afford WindowManagers an easier time of things.
Comments?