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

Commit f7e7b4e1 authored by Tiger Huang's avatar Tiger Huang
Browse files

Fix the leakage of the transient bar

There are 2 places that InsetsPolicy doesn't send aborting transient
types to System UI:

1. When the control targets of InsetsPolicy finishes the animation of
   hiding transient bars, these control targets don't call
   InsetsPolicy#onAnimatingTypesChanged.

2. When the control target of hiding transient bars is no longer the
   control target, the transient state will not be aborted.

This CL adds logic to handle these cases.

Fix: 427409641
Flag: EXEMPT bug fix
Test: 1. Enter 10:90 split-screen.
      2. Swipe down from the top edge of display to show transient bar.
      3. Swipe to home screen after transient bar is hidden.
      4. Open an app e.g., Calculator.
Change-Id: I9f4efa2c0103af51d6b628a4a34a0b16e83c58e4
parent f6a30104
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