From bfc9915f482520eb9676c6d2dbf7f1ac078d937d Mon Sep 17 00:00:00 2001 From: Igor Murashkin Date: Wed, 27 Feb 2013 12:55:20 -0800 Subject: Camera: Drop ProCamera connections when a Camera connection happens * Also adds an ICameraServiceListener with available/not available statuses Bug: 8291653 Change-Id: I24680f1a2dc109510caf451cf7c7bd180b670d84 --- include/camera/CameraBase.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/camera/CameraBase.h') diff --git a/include/camera/CameraBase.h b/include/camera/CameraBase.h index fed28ea..2735a86 100644 --- a/include/camera/CameraBase.h +++ b/include/camera/CameraBase.h @@ -71,6 +71,12 @@ public: /*out*/ struct CameraInfo* cameraInfo); + static status_t addServiceListener( + const sp& listener); + + static status_t removeServiceListener( + const sp& listener); + sp remote(); // Status is set to 'UNKNOWN_ERROR' after successful (re)connection -- cgit v1.1