diff options
author | Eino-Ville Talvala <etalvala@google.com> | 2014-09-18 15:52:02 -0700 |
---|---|---|
committer | Eino-Ville Talvala <etalvala@google.com> | 2014-09-18 16:12:38 -0700 |
commit | 67489d2f5668441a36cb1f1157e80ec8684023bf (patch) | |
tree | 6d58f0e2c62fd9d0bf57cafbc47cdbd4ee48bad5 /services/camera/libcameraservice/api_pro | |
parent | 086c1e3f41a92aa0025a1da1db5dabbfdffaf129 (diff) | |
download | frameworks_av-67489d2f5668441a36cb1f1157e80ec8684023bf.zip frameworks_av-67489d2f5668441a36cb1f1157e80ec8684023bf.tar.gz frameworks_av-67489d2f5668441a36cb1f1157e80ec8684023bf.tar.bz2 |
CameraService: Fix dump methods for two clients
Actually write dump text into the provided FD, and add a bit more
dump data into CameraDeviceClient.
Bug: 17570762
Change-Id: I37b1db85188855d4e89c8050c4b13f0d22e07e0c
Diffstat (limited to 'services/camera/libcameraservice/api_pro')
-rw-r--r-- | services/camera/libcameraservice/api_pro/ProCamera2Client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/camera/libcameraservice/api_pro/ProCamera2Client.cpp b/services/camera/libcameraservice/api_pro/ProCamera2Client.cpp index f8823a3..2ea460f 100644 --- a/services/camera/libcameraservice/api_pro/ProCamera2Client.cpp +++ b/services/camera/libcameraservice/api_pro/ProCamera2Client.cpp @@ -336,11 +336,11 @@ status_t ProCamera2Client::dump(int fd, const Vector<String16>& args) { mCameraId, getRemoteCallback()->asBinder().get(), mClientPid); - result.append(" State: "); + result.append(" State:\n"); + write(fd, result.string(), result.size()); // TODO: print dynamic/request section from most recent requests mFrameProcessor->dump(fd, args); - return dumpDevice(fd, args); } |