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

Commit a48b703e authored by Shuzhen Wang's avatar Shuzhen Wang Committed by Android (Google) Code Review
Browse files

Merge "Camera: Fill in SESSION_CONFIGURATION_QUERY_VERSION for HIDL" into main

parents 44a866a5 a87e4cc8
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -692,6 +692,14 @@ HidlProviderInfo::HidlDeviceInfo3::HidlDeviceInfo3(
        mHasFlashUnit = false;
    }

    if (flags::feature_combination_query()) {
        res = addSessionConfigQueryVersionTag();
        if (OK != res) {
            ALOGE("%s: Unable to add sessionConfigurationQueryVersion tag: %s (%d)",
                    __FUNCTION__, strerror(-res), res);
        }
    }

    camera_metadata_entry entry =
            mCameraCharacteristics.find(ANDROID_FLASH_INFO_STRENGTH_DEFAULT_LEVEL);
    if (entry.count == 1) {