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

Commit 0ab3f6cf authored by Jayant Chowdhary's avatar Jayant Chowdhary Committed by Automerger Merge Worker
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." into rvc-dev am: f00b91b9

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/11816228

Change-Id: I96f9adb09c575f0d238e89b25d9210f6c9f297e2
parents ebf2ce16 f00b91b9
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -496,9 +496,6 @@ void CameraService::disconnectClient(const String8& id, sp<BasicClient> clientTo
        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();
    }
}