summaryrefslogtreecommitdiffstats
path: root/services/camera/libcameraservice/api1/Camera2Client.h
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2016-01-13 10:07:04 -0800
committerEino-Ville Talvala <etalvala@google.com>2016-01-13 16:39:53 -0800
commitc4003965258404a19b99280ac0f475e2f290bf27 (patch)
treec9a4ed77bfc9c2d5b677ffb4943e657b215e04e1 /services/camera/libcameraservice/api1/Camera2Client.h
parenta39f9818759155a2651995d6844f9821d83e3f0d (diff)
downloadframeworks_av-c4003965258404a19b99280ac0f475e2f290bf27.zip
frameworks_av-c4003965258404a19b99280ac0f475e2f290bf27.tar.gz
frameworks_av-c4003965258404a19b99280ac0f475e2f290bf27.tar.bz2
Camera: Disallow dumping clients directly
Camera service dumps should only be initiated through ICameraService::dump. Bug: 26265403 Change-Id: If3ca4718ed74bf33ad8a416192689203029e2803
Diffstat (limited to 'services/camera/libcameraservice/api1/Camera2Client.h')
-rw-r--r--services/camera/libcameraservice/api1/Camera2Client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/camera/libcameraservice/api1/Camera2Client.h b/services/camera/libcameraservice/api1/Camera2Client.h
index d50bf63..7e7a284 100644
--- a/services/camera/libcameraservice/api1/Camera2Client.h
+++ b/services/camera/libcameraservice/api1/Camera2Client.h
@@ -100,6 +100,8 @@ public:
virtual status_t dump(int fd, const Vector<String16>& args);
+ virtual status_t dumpClient(int fd, const Vector<String16>& args);
+
/**
* Interface used by CameraDeviceBase
*/