Merge "Allow two SurfaceViews inbetween the app and the wallpaper."
This commit is contained in:
@@ -1501,6 +1501,7 @@ public class WindowManagerService extends IWindowManager.Stub
|
|||||||
WindowState wb = (WindowState)localmWindows.get(foundI-1);
|
WindowState wb = (WindowState)localmWindows.get(foundI-1);
|
||||||
if (wb.mBaseLayer < maxLayer &&
|
if (wb.mBaseLayer < maxLayer &&
|
||||||
wb.mAttachedWindow != foundW &&
|
wb.mAttachedWindow != foundW &&
|
||||||
|
wb.mAttachedWindow != foundW.mAttachedWindow &&
|
||||||
(wb.mAttrs.type != TYPE_APPLICATION_STARTING ||
|
(wb.mAttrs.type != TYPE_APPLICATION_STARTING ||
|
||||||
wb.mToken != foundW.mToken)) {
|
wb.mToken != foundW.mToken)) {
|
||||||
// This window is not related to the previous one in any
|
// This window is not related to the previous one in any
|
||||||
|
|||||||
Reference in New Issue
Block a user