Reduce unnecessary wallpaper target searches
Because - ActivityRecord#setVisibilityInner always calls requestUpdateWallpaperIfNeeded for visibility change. - WallpaperController#mFindWallpaperTargetFunction doesn't check drawn state, the result of commitFinishDrawing won't affect wallpaper target. Also optimize DisplayContent#mApplySurfaceChangesTransaction a bit to reduce unnecessary method invocation. Bug: 163976519 Flag: EXEMPT remove outdated code Test: CtsWindowManagerDeviceActivity Change-Id: Icee41a296ff41449b76e807634e6f7948d1cedd9
Loading
Please register or sign in to comment