commit | 4b0f84f0db1842af8e9581e7d98d76d4450ffc08 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Wed Oct 20 20:35:25 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Oct 20 20:35:25 2021 +0000 |
tree | 57e812dbc7f06a9ccd79464917e428e7cb33603d | |
parent | ba5c446d447966e3c32caf6322cfc34d3fdab388 [diff] | |
parent | 0c6b108fb692c3201cec77bf7983a384b33813de [diff] |
Merge "Camera: Pass initial device state when adding new camera devices" into sc-v2-dev am: 0c6b108fb6 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/16057692 Change-Id: I10eb82522d462b079711254f8435d313ee7be79c
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__,