Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3ae102c8 authored by Bharat Singh's avatar Bharat Singh
Browse files

[AnimLib] Reuse same unique token for same view

This change enables clients of ViewTransitionRegistry to reuse same
uniue token associated with a particular view (till it is attached to a
window). This optimization reduces the overhead of generating different
unique tokens mapped to the same view and ensures that there is a single
token, entry and listener associated with a view in the registry (this
detail is completely abstracted out from clients).

Bug: 393241010
Flag: com.android.systemui.decouple_view_controller_in_animlib
Test: GhostedViewTransitionAnimatorControllerTest, ViewTransitionRegistryTest
Change-Id: If0dbd9de5809068476cfe69268b17429f5dda11d
parent 56349879
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment