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.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f7e7b4e1a3129e1c9884edc66a41be463899b4a4)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d6bd5f39d2d5c65fe6c1a75bfbd4950c298cf09a)
Merged-In: I9f4efa2c0103af51d6b628a4a34a0b16e83c58e4
Change-Id: I9f4efa2c0103af51d6b628a4a34a0b16e83c58e4
Loading
Please register or sign in to comment