Merge "Issue: Foreground activity performs [Resume] and [Pause] when any process died in sleep mode."