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

Commit 93a5ab7f authored by Jeff DeCew's avatar Jeff DeCew Committed by Yining Liu
Browse files

ViewFlipper: add inhibit state to prevent updates, even when started

This internal state avoids a potential race condition in how SystemUI previously paused the ViewFlipper, which could have happened if the `setPaused` call was made before the view received the internal `onAttachedToView` update that would trigger auto-start.  This race was never confirmed, but this refactor should prevent it.

Test: manual with tracing
Bug: 409112153
Flag: EXEMPT refactor
Change-Id: Ie1d76a5eec753dd25b91fb29f7bb5dfed8a7b40c
parent a59184b4
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