Skip to content
Commit 2ab590a4 authored by Tiger Huang's avatar Tiger Huang
Browse files

Dispatch the requested visibility if the client has the control

Otherwise, we would think its visibility needs to be cleared.

This CL:
- reverts parts of eb5a5920,
- prevents sending redundant MSG_DISPATCH_SYSTEM_UI_VISIBILITY, and
- cancels clearing visibility if a new reversed visibility is set.

Fix: 156994866
Test: atest --iterations 100 LayoutTests#testAddingImmersiveWindow
      atest WindowInsetsControllerTests InsetsAnimationControlImplTest
Change-Id: I8b8b7541523c0a94daf336f3be415aa5fa3f33da
parent 235f1db1
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