commit | ceed2a8e418555b0a7e86858d75c3128ea2e952d | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Wed Oct 20 20:49:09 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Oct 20 20:49:09 2021 +0000 |
tree | be5e0ffa6a2cd0e1a9dc024939fe8fa882dcde82 | |
parent | 7ff7ad73b77750355aa58da4626a8f323221bc8b [diff] | |
parent | 4b0f84f0db1842af8e9581e7d98d76d4450ffc08 [diff] |
Merge "Camera: Pass initial device state when adding new camera devices" into sc-v2-dev am: 0c6b108fb6 am: 4b0f84f0db Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/16057692 Change-Id: I0e5e421e695789e60ebd5aafdc078ad60f9c715f
diff --git a/services/camera/libcameraservice/common/CameraProviderManager.cpp b/services/camera/libcameraservice/common/CameraProviderManager.cpp index 9abb972..b10a4c4 100644 --- a/services/camera/libcameraservice/common/CameraProviderManager.cpp +++ b/services/camera/libcameraservice/common/CameraProviderManager.cpp
@@ -1631,6 +1631,7 @@ case 3: deviceInfo = initializeDeviceInfo<DeviceInfo3>(name, mProviderTagid, id, minor); + deviceInfo->notifyDeviceStateChange(mDeviceState); break; default: ALOGE("%s: Device %s: Unknown HIDL device HAL major version %d:", __FUNCTION__,