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

Commit e580fbd8 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Remove unnecessary layer assignment on destroy client surface

Because:
- Client surface doesn't have a computed layer value.
- If destroySurface removes a window, the removal
  postWindowRemoveCleanupLocked also updates layers.
- updateLetterboxSurfaceIfNeeded is no-op if the argument is null.

This mainly reduces unnecessary operations from
 activityStopped > destroySurfaces.

History commit: e12aece4

Bug: 163976519
Flag: EXEMPT remove outdate code
Test: CtsWindowManagerDeviceActivity
Change-Id: Ib11916f900eb8d30a7f9f6fdfc155420bbda34f6
parent a08a0293
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