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

Commit a3ca1386 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "[RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay" into android12-tests-dev

parents fcec28ee 2180645f
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -2002,6 +2002,13 @@ TEST_P(EvsHidlTest, CameraUseStreamConfigToDisplay) {

    // Test each reported camera
    for (auto&& cam: cameraInfo) {
        bool isLogicalCam = false;
        getPhysicalCameraIds(cam.v1.cameraId, isLogicalCam);
        if (isLogicalCam) {
            LOG(INFO) << "Skip a logical device " << cam.v1.cameraId;
            continue;
        }

        // choose a configuration that has a frame rate faster than minReqFps.
        Stream targetCfg = {};
        const int32_t minReqFps = 15;