Bug 1047143 - close aps entering task-manager, exitToApp to open/restore

Up to you but I would like to have a mock_app_transition_controller.js