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

Commit 3e696f34 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Camera: remove flag calculate_perf_override_during_session_support" into main

parents 8deec1e6 e005df56
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -121,16 +121,6 @@ flag {
    }
}

flag {
    namespace: "camera_platform"
    name: "calculate_perf_override_during_session_support"
    description: "Dynamically calulate whether perf class override should be set in isSessionConfigurationWithParametersSupported."
    bug: "332975108"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    namespace: "camera_platform"
    name: "analytics_24q3"
+1 −2
Original line number Diff line number Diff line
@@ -915,8 +915,7 @@ Status CameraService::isSessionConfigurationWithParametersSupported(
                cameraId.c_str());
    }

    bool overrideForPerfClass = flags::calculate_perf_override_during_session_support() &&
                                SessionConfigurationUtils::targetPerfClassPrimaryCamera(
    bool overrideForPerfClass = SessionConfigurationUtils::targetPerfClassPrimaryCamera(
                                        mPerfClassPrimaryCameraIds, cameraId, targetSdkVersion);

    auto ret = isSessionConfigurationWithParametersSupportedUnsafe(cameraId,