From 90d6cf79ae229671d3ef735a94d6e215e1a37c5e Mon Sep 17 00:00:00 2001 From: Ricardo Cerqueira Date: Thu, 20 Dec 2012 00:48:37 +0000 Subject: WifiDisplay: Add an HDCP toggle Some WFD dongles have frequent (or permanent) failures while negotiating HDCP with the device, so add a toggle to allow skipping HDCP entirely Change-Id: I999158df84d4a7489c40ecdf07ebcf107d071d40 --- services/camera/libcameraservice/Camera2Client.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'services/camera') diff --git a/services/camera/libcameraservice/Camera2Client.cpp b/services/camera/libcameraservice/Camera2Client.cpp index e59a240..d45881d 100644 --- a/services/camera/libcameraservice/Camera2Client.cpp +++ b/services/camera/libcameraservice/Camera2Client.cpp @@ -1430,11 +1430,13 @@ void Camera2Client::notifyAutoFocus(uint8_t newState, int triggerId) { } } if (sendMovingMessage) { +#ifndef OMAP_ICS_CAMERA SharedCameraClient::Lock l(mSharedCameraClient); if (l.mCameraClient != 0) { l.mCameraClient->notifyCallback(CAMERA_MSG_FOCUS_MOVE, afInMotion ? 1 : 0, 0); } +#endif } if (sendCompletedMessage) { SharedCameraClient::Lock l(mSharedCameraClient); -- cgit v1.1