diff options
| author | 2024-03-05 22:14:06 +0800 | |
|---|---|---|
| committer | 2024-03-14 15:57:46 +0800 | |
| commit | 6a40995fcfb3252638521eb10b5189900dd59c13 (patch) | |
| tree | f597437d61aa5fd5eeb6a223445f73a35020bde4 /libs/androidfw/StringPool.cpp | |
| parent | f83c015f091fa4e817f33dc915b5590e92c976a1 (diff) | |
fix(cts): fix the test based on flag create_windowless_window_magnifier
The cts test failed after enabling the flag since we were performing
last `enableWindowMagnificationInternal` in `onAnimationUpdate`, but
checking the flag that will be updated in `ValueAnimator#endAnimation`
in `enableWindowMagnificationInternal`.
Add `enableWindowMagnificationInternal` in `onAnimationEnd` to guarantee that window magnification mirror and source bounds are updated to the latest state
when the animation finishes.
Bug: 323528222
Test: atest AccessibilityMagnificationTest
atest WindowMagnificationControllerTest
atest WindowMagnificationControllerWindowlessMagnifierTest
atest WindowMagnificationAnimationControllerTest
Flag: ACONFIG com.android.systemui.create_windowless_window_magnifier DEVELOPMENT
Change-Id: Ibd102cfd330583574e63d8e128ef99e66270dcfc
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions