Fix condition check for onWindowPrepared callbacks test.

Fix a couple of other nits.

Bug: 259735869

Test: ACameraNdkVendorTest

Change-Id: I2ecf9ae0726a8b58f0c6329fc79b26a87fcbd190
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
diff --git a/camera/ndk/NdkCameraCaptureSession.cpp b/camera/ndk/NdkCameraCaptureSession.cpp
index 8a3acf3..e6c876b 100644
--- a/camera/ndk/NdkCameraCaptureSession.cpp
+++ b/camera/ndk/NdkCameraCaptureSession.cpp
@@ -40,7 +40,6 @@
     if (session != nullptr) {
         session->closeByApp();
     }
-
     return;
 }
 
@@ -192,6 +191,7 @@
     }
     return session->updateOutputConfiguration(output);
 }
+
 EXPORT
 camera_status_t ACameraCaptureSession_setWindowPreparedCallback(
         ACameraCaptureSession* session, ACameraCaptureSession_prepareCallbacks *cb) {
@@ -230,4 +230,4 @@
         return ACAMERA_ERROR_SESSION_CLOSED;
     }
     return session->prepare(window);
-}
\ No newline at end of file
+}