Camera2: Fix CTS test case testSetPreviewDisplay

Patch makes sure to preparePreview when startPreview is called
before a valid Native Window set, this ensures that we can
successfully call startPreview later when a valid Native Window
is set.

Change-Id: If78f4c3639c726d8376aa5065d63432bbd55fee1
1 file changed