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

Commit 1260d140 authored by Emilian Peev's avatar Emilian Peev Committed by android-build-merger
Browse files

Camera: Add only physical ids during multi-camera configuration am: e0c4c497

am: 548f0b65

Change-Id: I1b2ed605bf7c9625fa17d4453f5831ee6207126b
parents fbac0219 548f0b65
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -3480,11 +3480,10 @@ TEST_F(CameraHidlTest, processMultiCaptureRequestPreview) {
        ret = session->close();
        ASSERT_TRUE(ret.isOk());

        // Leave only 2 physical devices in the id set.
        auto it = physicalIds.begin();
        string physicalDeviceId = *it;
        // Leave only the first physical device in the id set and insert the logical device.
        string physicalDeviceId = *it; it++;
        physicalIds.erase(++it, physicalIds.end());
        physicalIds.emplace(deviceId);
        ASSERT_EQ(physicalIds.size(), 2u);

        V3_4::HalStreamConfiguration halStreamConfig;