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

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

Merge "cameraserver: remove assumption that status change callbacks must be...

Merge "cameraserver: remove assumption that status change callbacks must be called from cameraserver process."
parents 03aceec7 297df756
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -379,9 +379,6 @@ void CameraService::onDeviceStatusChanged(const String8& id,
            clientToDisconnect->notifyError(
                    hardware::camera2::ICameraDeviceCallbacks::ERROR_CAMERA_DISCONNECTED,
                    CaptureResultExtras{});
            // Ensure not in binder RPC so client disconnect PID checks work correctly
            LOG_ALWAYS_FATAL_IF(CameraThreadState::getCallingPid() != getpid(),
                    "onDeviceStatusChanged must be called from the camera service process!");
            clientToDisconnect->disconnect();
        }