+76
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Exposes internal state via an explicit [DebugInspector] class. This allows to make all internal state `private`, while still exporting internal state for debug visualization, logging, and testing. While there is no [DebugInspector] active, there are no runtime costs associated with this. When active, it guarantees the debug code does not accidentally change runtime behavior (for example by reading the `derivedState` at a different time the production code would). It also guarantees to generate a consistent state of input and output values. Flag: NONE Initial commits for new library, currently unused. Test: atest mechanics_tests Bug: 379248269 Change-Id: I68db8b6d04659a11fe48e07f66fbde943d2d038f