Consider app switch state for real caller.

The app switch state was ignored for the real caller, which cause the
real caller check to return allow while the caller check blocked for the
same condition. This fix is neccessary to require creator opt in with a
consistent behavior.

Bug: 296478951
Test: atest BackgroundActivityLaunchTest
Change-Id: I7a093369f52bd9d99c51b9c2d7b5a244fb9d7bc5
1 file changed