Merge "Allow two SurfaceViews inbetween the app and the wallpaper."

This commit is contained in:
Jean-Baptiste Queru
2010-09-10 14:36:21 -07:00
committed by Android Code Review

View File

@@ -1501,6 +1501,7 @@ public class WindowManagerService extends IWindowManager.Stub
WindowState wb = (WindowState)localmWindows.get(foundI-1);
if (wb.mBaseLayer < maxLayer &&
wb.mAttachedWindow != foundW &&
wb.mAttachedWindow != foundW.mAttachedWindow &&
(wb.mAttrs.type != TYPE_APPLICATION_STARTING ||
wb.mToken != foundW.mToken)) {
// This window is not related to the previous one in any