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

Commit fcbaf540 authored by Shuzhen Wang's avatar Shuzhen Wang Committed by android-build-merger
Browse files

Merge "Camera: Do not update state at HAL starts up if state already exists" am: c3ee35f3

am: 05ca87cc

Change-Id: Ie7e5ab214485ab8eda9f3630a7df78486d1e0921
parents 71085b5a 05ca87cc
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -181,8 +181,10 @@ status_t CameraService::enumerateProviders() {

    for (auto& cameraId : deviceIds) {
        String8 id8 = String8(cameraId.c_str());
        if (getCameraState(id8) == nullptr) {
            onDeviceStatusChanged(id8, CameraDeviceStatus::PRESENT);
        }
    }

    return OK;
}