Fix ActivityThreadTest#testDoubleRelaunch

ActivityClientRecord can be null if the test doesn't wait for activity
launch. Fix by partially revert the change in case the test doesn't care
about the ActivityWindowInfo.

Fix: 331193454
Test: atest FrameworksCoreTests:ActivityThreadTest
Change-Id: I510f7e0bc042550f26ec5f7a07b76a0c7bee2d96
1 file changed