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

Skip to content
Commit dae1d7be authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Reduce unnecessary invocation of updateKeepClearAreas

The one in performSurfacePlacementNoTrace should be enough.

- The calculation relies on bounds and window frames. The changes of
  focus, insets control won't affect the result.
- If display size changes, performSurfacePlacement is guaranteed to
  be called (remove the invocation in onDisplayChanged).
- Add missing Region.recycle.

Bug: 159103089
Test: atest KeepClearRectsTests
Change-Id: I45571944cc0dc8e425daa506bd0752081df571e8
parent 944de4f9
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