diff options
| author | 2025-01-10 16:12:25 +0800 | |
|---|---|---|
| committer | 2025-01-10 18:03:58 +0800 | |
| commit | 77239f8b35130c0b9505b75643f2edd135bc86c4 (patch) | |
| tree | e8b488bc113aa98741f1fd5571698ef0f7468a7e /api/api.go | |
| parent | 271ede58aa7cdc5e2f3968f6ef379be3f307df40 (diff) | |
Don't use the user's fraction to decide the visibility of a leash
The caller might pass any fraction to
WindowInsetsAnimationController#setInsetsAndAlpha. The fraction should
not control visibility of the leash.
This CL flags mCancelling when an insets animation is being cancelled
instead of setting mPendingFraction to 1f, and stops using
mPendingFraction to decide the leash visibility if the animation is
ANIMATION_TYPE_USER.
Bug: 376232646
Flag: EXEMPT bugfix
Test: Manual, i.e. verified that IME does not jump hide anymore when
swiping down and up again on all-apps.
Change-Id: I297758f665460bd6db8ff1da8267e9b9a862b328
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions