diff options
| author | 2024-07-15 17:58:16 +0200 | |
|---|---|---|
| committer | 2024-07-23 00:14:13 +0000 | |
| commit | 8533764c9724291da7db752114961ba40b06c9e2 (patch) | |
| tree | a5539d059699e768ccdcdefb13b44334e8c9f28a /libs/androidfw/AttributeResolution.cpp | |
| parent | cda995f62b573d955be6d62827b919696200d55e (diff) | |
Fix wrong Choreographer used for setting vsyncId in cross-activity predictive back
The constructor of CrossActivityBackAnimation is not called from the wmshell.main thread. Therefore we should not set the Choreographer from the constructor.
Bug: 343039961
Flag: com.android.window.flags.predictive_back_system_anims
Test: Manual, i.e. logging Choreographer instances and veryfying that they're accessed from wmshell.main thread. Also verified in perfetto that traces look smooth now.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:21b9fd55f7b50bc40a6fe9b5b6c6cd88d24b4346)
Merged-In: Iead236279ea0f46acde23f16bb230ff324f453f3
Change-Id: Iead236279ea0f46acde23f16bb230ff324f453f3
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions