diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2017-09-20 08:19:35 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2017-09-20 08:19:35 +0000 |
commit | 01dd223a8426ffab8bb144b5c67835339749b697 (patch) | |
tree | 7a00f0824e1d253044ea816cad02809a8e1c0fce | |
parent | 4f74e461e95d09526e06ec19f91c5f174677ce26 (diff) | |
parent | 0b7066a6c10ca9d5d41c570bcf982f8a9c79ffff (diff) | |
download | easel-01dd223a8426ffab8bb144b5c67835339749b697.tar.gz |
release-request-e2e4ef47-6e2d-4fd3-aa91-845ba8826fbc-for-git_pi-release-4349279 snap-temp-L58700000104420312
Change-Id: I65a749eeb9780cd0f7b6673d91335e05d89d3194
-rw-r--r-- | camera/libhdrplusclient/include/HdrPlusClient.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/camera/libhdrplusclient/include/HdrPlusClient.h b/camera/libhdrplusclient/include/HdrPlusClient.h index 7896c89..40905cc 100644 --- a/camera/libhdrplusclient/include/HdrPlusClient.h +++ b/camera/libhdrplusclient/include/HdrPlusClient.h @@ -33,7 +33,9 @@ namespace android { */ class HdrPlusClient { public: - HdrPlusClient() {}; + // HdrPlusClientListener is the listener to receive callbacks from HDR+ client. The listener + // must be valid during the life cycle of HdrPlusClient + HdrPlusClient(HdrPlusClientListener *) {}; /* * The recommended way to create an HdrPlusClient instance is via * EaselManagerClient::openHdrPlusClientAsync() or EaselManagerClient::openHdrPlusClientAsync(). @@ -47,17 +49,12 @@ public: * * If EaselManagerClient is used to create the HdrPlusClient, it is already connected. * - * listener is the listener to receive callbacks from HDR+ client. - * * Returns: * 0: on success. * -EEXIST: if it's already connected. * -ENODEV: if connecting failed due to a serious error. */ - virtual status_t connect(HdrPlusClientListener *listener) = 0; - - // Disconnect from HDR+ service. - virtual void disconnect() = 0; + virtual status_t connect() = 0; /* * Set the static metadata of current camera device. |