Add unit test for simulate startActivityWithScreenshot

when set AS#setFreezeScreen(true), the transition should collect
display content for creating snapshot surface.

Bug: 324377337
Test: atest ActivityStarterTests#testActivityStartWithScreenshot
Change-Id: I6188ecc346427b0bb189648cb276551371b9761e
1 file changed