Merge "Destroy ActivityRecord when it is removed from the hierarchy" into sc-v2-dev