Loading services/camera/libcameraservice/CameraService.cpp +2 −4 Original line number Diff line number Diff line Loading @@ -840,10 +840,8 @@ void CameraService::remapCameraIds(const TCameraIdRemapping& cameraIdRemapping) } for (auto& clientSp : clientsToDisconnect) { // We send up ERROR_CAMERA_DEVICE so that the app attempts to reconnect // automatically. Note that this itself can cause clientSp->disconnect() based on the // app's response. clientSp->notifyError(hardware::camera2::ICameraDeviceCallbacks::ERROR_CAMERA_DEVICE, // Notify the clients about the disconnection. clientSp->notifyError(hardware::camera2::ICameraDeviceCallbacks::ERROR_CAMERA_DISCONNECTED, CaptureResultExtras{}); } Loading Loading
services/camera/libcameraservice/CameraService.cpp +2 −4 Original line number Diff line number Diff line Loading @@ -840,10 +840,8 @@ void CameraService::remapCameraIds(const TCameraIdRemapping& cameraIdRemapping) } for (auto& clientSp : clientsToDisconnect) { // We send up ERROR_CAMERA_DEVICE so that the app attempts to reconnect // automatically. Note that this itself can cause clientSp->disconnect() based on the // app's response. clientSp->notifyError(hardware::camera2::ICameraDeviceCallbacks::ERROR_CAMERA_DEVICE, // Notify the clients about the disconnection. clientSp->notifyError(hardware::camera2::ICameraDeviceCallbacks::ERROR_CAMERA_DISCONNECTED, CaptureResultExtras{}); } Loading