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

Skip to content
Commit cff14c06 authored by Tiger's avatar Tiger
Browse files

Send public types while showing or aborting transient bars

The sources with the same pulic type should be controlled together. So
we can just use public types to indicate which types of transient bars
are shown or aborted.

This CL also fixes bugs related to transient bars:
- Incorrect window layout after aborting transient bar. The transient
  state affects the window layout, but we didn't relayout after aborting
  it.
- Hiding taskbar won't trigger immersive mode confirmation. We only
  checked the visibility change of ITYPE_NAVIGATION_BAR before this CL,
  instead of all the sources with WindowInsets.Type#navigationbars().
- Transient taskbar won't show after performing the panic gesture. The
  reason is the same as the second bug above.

Fix: 265396491
Fix: 265394635
Fix: 265394625
Bug: 234093736
Test: atest CommandQueueTest InsetsPolicyTest InsetsStateControllerTest
      RegisterStatusBarResultTest
Change-Id: Ib150826402d281de1aedf98336d05010496842c0
parent 1c717014
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