Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3fb7a48b authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent d6afc35a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment