| commit | 8533764c9724291da7db752114961ba40b06c9e2 | [log] [tgz] |
|---|---|---|
| author | Johannes Gallmann <gallmann@google.com> | Mon Jul 15 17:58:16 2024 +0200 |
| committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Jul 23 00:14:13 2024 +0000 |
| tree | a5539d059699e768ccdcdefb13b44334e8c9f28a | |
| 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