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

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

Only notify prepare-surface callback from window animator

Since the surface operations are centralized to window animator,
the operations that expect to run after transaction applied
should also be only executed by window animator.

Otherwise there could be a race:
 system-relayout: T1 shows the surface and sends surface to client.
 client: T2 applies hide.
 system-vsync: T1 is merged to T0, T0 is applied.
  -> expected hide but got overridden to show.

Bug: 318760302
Test: Disable animation and launch an app which requests to hide
      status bar. Keep switching between the app and home. Check
      that when the app is on top, the status bar is hidden.
Change-Id: Ic6f99be2907690fa955f6cfb424c4d0f68abf004
parent f7a526b9
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