Merge "Finishing root activity if having other running activities" into sc-v2-dev