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

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

Do not redraw if no change on reparent

An example is when transferring a starting window in a task with
embedded activities. The configuration of the starting window
will be overridden by task, so there won't be configuration change
when transferring the window between activities. And if the window
was drawn, it is unnecessary to request redraw by onSyncReparent
-> WindowState#prepareSync() -> requestRedrawForSync().

Though this can avoid potential SurfaceSyncGroup timeout indirectly,
this is still a reasonable performance optimization.

Bug: 279798720
Test: atest SyncEngineTests#testReparentIn
Change-Id: Iebfb662b579eceecc470719fa6a2dc8ba8df332f
parent f3475fcf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment