Skip to content

Commit 962e482

Browse files
Jean-Baptiste QueruAndroid Code Review
authored andcommitted
Merge "Allow two SurfaceViews inbetween the app and the wallpaper."
2 parents 7c65585 + 73dc259 commit 962e482

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

services/java/com/android/server/WindowManagerService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1501,6 +1501,7 @@ int adjustWallpaperWindowsLocked() {
15011501
WindowState wb = (WindowState)localmWindows.get(foundI-1);
15021502
if (wb.mBaseLayer < maxLayer &&
15031503
wb.mAttachedWindow != foundW &&
1504+
wb.mAttachedWindow != foundW.mAttachedWindow &&
15041505
(wb.mAttrs.type != TYPE_APPLICATION_STARTING ||
15051506
wb.mToken != foundW.mToken)) {
15061507
// This window is not related to the previous one in any

0 commit comments

Comments
 (0)