CTS testing 2nd activity launch is blocked when activity in bg

This tests the fix for the vulnerability found in the bug linked where an
activity in the bg can fire 2 intents simulteneously to circumvent bg activity
restriction, allowing the 2nd activity to be brought to fg.

Bug: 138583650
Test: 1) atest BackgroundActivityLaunchTest#testSecondActivityBlockedWhenBackgroundActivityLaunch
         Without topic CL built and verify it fails
      2) atest BackgroundActivityLaunchTest#testSecondActivityBlockedWhenBackgroundActivityLaunch
         With topic CL built and verify it passes
Change-Id: I7132e64177112fb3f4d7c7cbfdfdcd04065f10a5
3 files changed