Merge "Animate app exit for cases where the app is already hidden before transition" into mnc-dev