how about calling this `recordApplicationTransition(Lifecycle newState)` ?

and does it belong on the `ManagementContextInternal` rather than here ?