+52
−30
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Since the latching behavior guarantees that changes are processed once per frame, in withFrameNanos, all the internal MutableState can be removed. It keeps the output as MutableState, and read-observes the input only while the animations are paused. The failing tests was not correct previously (since it created the spec on every read), that was only surfaced with this change, not caused by it. Test: Unit test Bug: 404975104 Flag: com.android.systemui.scene_container Change-Id: I01e99ba09e21f7499ed31fbf40c239af0f98fcb7