commit | 837cd669ffeb016a789ce08f3037cc8d301c642b | [log] [tgz] |
---|---|---|
author | Juan Sebastian Martinez <juansmartinez@google.com> | Thu Mar 21 19:03:24 2024 -0700 |
committer | Juan Sebastian Martinez <juansmartinez@google.com> | Fri Mar 22 10:45:29 2024 -0700 |
tree | 305dca268b942439226fd9f6fe529082691060f2 | |
parent | 31930017e25d0980612038107fac4a6b6356e04f [diff] |
Fixing multiple coroutine launches and binder calls on state changes. Calling the view binder to bind the view for every state change is not necessary. This was causing jank since multiple coroutines were being launched unnecessarily. Test: atest SystemUITests:QSTileViewImpl Flag: ACONFIG quick_settings_visual_haptics_longpress TEAMFOOD Bug: 330426624 Change-Id: I4611ff93c734c7c93035ce27c347ab842bdbcace