Waiting for test activity to be removed

This is similar to commit c5482b1. Which avoids concurrent issue
of mocked object of next test.

Fix: 325281053
Test: atest TrustedOverlayTests UnknownAppVisibilityControllerTest
Change-Id: Ic50753840685644e4900260fb90421cf2fb19f9d
1 file changed