Camera VTS: Wait for camera provider to become active am: bd4cdc6a9a
am: 9610556686
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24665985 Change-Id: I64fa6f06b7d13a8fd0e137981c1f5bc8dd524c91 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
1fc69b0038
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ void CameraAidlTest::SetUp() {
|
|||
ABinderProcess_startThreadPool();
|
||||
|
||||
SpAIBinder cameraProviderBinder =
|
||||
SpAIBinder(AServiceManager_getService(serviceDescriptor.c_str()));
|
||||
SpAIBinder(AServiceManager_waitForService(serviceDescriptor.c_str()));
|
||||
ASSERT_NE(cameraProviderBinder.get(), nullptr);
|
||||
|
||||
std::shared_ptr<ICameraProvider> cameraProvider =
|
||||
|
|
Loading…
Reference in a new issue