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
Loading
Please register or sign in to comment