diff options
| author | 2023-11-08 20:28:41 +0800 | |
|---|---|---|
| committer | 2023-11-08 12:30:29 +0000 | |
| commit | b81a9055c4fa2ea8043634fcfd447b4dc7b41115 (patch) | |
| tree | d01f286ce35315600cc0c8699bea413b1dec95e1 /libs/androidfw/FileStream.cpp | |
| parent | f4356a7a1a642a8cb4c30cc79e95ade9a0f2d96e (diff) | |
Clear transform when updating animation frame
This is a common step to support general animation.
Otherwise postTranslate will keep accumulating offset that causes the
content to be outside of screen.
The default embedded animation doesn't have problem because it
is lucky that contains setTranslate. While a pure alpha animation
doesn't contain setTranslate.
Fix: 308898792
Test: Open Settings with embedded activity enabled.
Click Display -> Brightness level and click Storage on left.
It will perform the alpha animation correctly which
is specified by the activity of "Brightness level".
Change-Id: I3575dd0c0e6797b38b67825b978afebe0fafff3e
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions