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
Loading
Please register or sign in to comment