Merge "Determine if the activity is the topmost one" into rvc-dev am: b4d5aef6b0

Change-Id: Ia211070b68bd04b256384618db989abcaadefd02