diff options
| author | Tiger Huang <tigerhuang@google.com> | 2020-02-05 17:10:03 +0800 |
|---|---|---|
| committer | Tiger Huang <tigerhuang@google.com> | 2020-02-07 18:19:21 +0800 |
| commit | a1663403045248f94e88fb6d9558dc589d86114e (patch) | |
| tree | cc18c772dd4e1e1be720ab49833ed6745549c54e /core/java/android/view/InsetsSource.java | |
| parent | be5015b00aee39ff6956701942dca2383bdff13c (diff) | |
Refine logic about controlling transient bars
- Use copied InsetsSourceControl to prevent the leash from being
released while the control gets revoked while playing transient
bar animations.
- Start the animation after mAnimationControl gets assigned to prevent
NullPointerException.
- Let SystemUI to change the bar mode to transient mode before WM
plays the transient bar animation.
- Remove a redundunt call to the super method.
- Fix InsetsPolicyTest
- Fix InsetsStateControllerTest
- Fix misc things
Bug: 118118435
Test: Manually swipe to show transient bars many times.
Test: atest InsetsSourceProviderTest InsetsStateControllerTest
InsetsPolicyTest WindowStateTests CommandQueueTest
RegisterStatusBarResultTest InsetsFlagsTest
LightBarControllerTest RegisterStatusBarResultTest
ViewRootImplTest DisplayPolicyInsetsTests
DisplayPolicyTests TaskSnapshotSurfaceTest
InsetsAnimationControlImplTest
Change-Id: I7d445b7dc6f47a64048937cd439bdd5ffa7fa3a3
Diffstat (limited to 'core/java/android/view/InsetsSource.java')
| -rw-r--r-- | core/java/android/view/InsetsSource.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/InsetsSource.java b/core/java/android/view/InsetsSource.java index d4961eab7473..6caa4fed6409 100644 --- a/core/java/android/view/InsetsSource.java +++ b/core/java/android/view/InsetsSource.java @@ -198,7 +198,7 @@ public class InsetsSource implements Parcelable { return "InsetsSource: {" + "mType=" + InsetsState.typeToString(mType) + ", mFrame=" + mFrame.toShortString() - + ", mVisible" + mVisible + + ", mVisible=" + mVisible + "}"; } |
