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

Commit fdb79bb3 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 10865315 from b89d4e55 to udc-qpr1-release

Change-Id: I6f398061b5d06d900aea8a99b806c9b4b03e031f
parents 681f909b b89d4e55
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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{});
    }