Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c6b108f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Camera: Pass initial device state when adding new camera devices" into sc-v2-dev

parents 25cfa13e 61e17b63
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1631,6 +1631,7 @@ status_t CameraProviderManager::ProviderInfo::addDevice(const std::string& name,
        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__,