Code example for LocalActivityManager

Methods: dispatchPause, dispatchResume