diff options
author | Igor Murashkin <iam@google.com> | 2013-03-04 16:14:23 -0800 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2013-03-11 16:32:24 -0700 |
commit | fa4cf9d310685b4c25877cba772ff7da84caf517 (patch) | |
tree | d954ae7a991a1dfc084019433f370b46abb1f6c4 /services | |
parent | ce124da179775a81ad7dcc3f33315eca451e66f2 (diff) | |
download | frameworks_av-fa4cf9d310685b4c25877cba772ff7da84caf517.zip frameworks_av-fa4cf9d310685b4c25877cba772ff7da84caf517.tar.gz frameworks_av-fa4cf9d310685b4c25877cba772ff7da84caf517.tar.bz2 |
(Camera)ProCamera: Remove unused functions from binder interface
Change-Id: I0582268cef6e84b630bc87c8a03dcd69d54c440d
Diffstat (limited to 'services')
-rw-r--r-- | services/camera/libcameraservice/ProCamera2Client.cpp | 9 | ||||
-rw-r--r-- | services/camera/libcameraservice/ProCamera2Client.h | 3 |
2 files changed, 2 insertions, 10 deletions
diff --git a/services/camera/libcameraservice/ProCamera2Client.cpp b/services/camera/libcameraservice/ProCamera2Client.cpp index 1270751..575b075 100644 --- a/services/camera/libcameraservice/ProCamera2Client.cpp +++ b/services/camera/libcameraservice/ProCamera2Client.cpp @@ -230,14 +230,7 @@ status_t ProCamera2Client::cancelRequest(int requestId) { return INVALID_OPERATION; } -//TODO: Remove -status_t ProCamera2Client::requestStream(int streamId) { - ALOGE("%s: not implemented yet", __FUNCTION__); - - return INVALID_OPERATION; -} - -status_t ProCamera2Client::cancelStream(int streamId) { +status_t ProCamera2Client::deleteStream(int streamId) { ATRACE_CALL(); ALOGV("%s (streamId = 0x%x)", __FUNCTION__, streamId); diff --git a/services/camera/libcameraservice/ProCamera2Client.h b/services/camera/libcameraservice/ProCamera2Client.h index f69021e..1dec263 100644 --- a/services/camera/libcameraservice/ProCamera2Client.h +++ b/services/camera/libcameraservice/ProCamera2Client.h @@ -48,8 +48,7 @@ public: bool streaming = false); virtual status_t cancelRequest(int requestId); - virtual status_t requestStream(int streamId); - virtual status_t cancelStream(int streamId); + virtual status_t deleteStream(int streamId); virtual status_t createStream( int width, |