recreate userTakeActivity support

enable resuming detection after resources are deleted by android