diff options
author | dcashman <dcashman@google.com> | 2015-09-09 13:43:01 -0700 |
---|---|---|
committer | dcashman <dcashman@google.com> | 2015-09-11 11:57:19 -0700 |
commit | fefa614f92346e929921bfd47e3643861850bc2a (patch) | |
tree | 700d34dcd080cfdcbe03a49107b76304e5b9fac8 /services | |
parent | a89ee9ef8ee7774c1ea2d64c7f24c870fcc791ca (diff) | |
download | frameworks_av-fefa614f92346e929921bfd47e3643861850bc2a.zip frameworks_av-fefa614f92346e929921bfd47e3643861850bc2a.tar.gz frameworks_av-fefa614f92346e929921bfd47e3643861850bc2a.tar.bz2 |
Reduce DUMP permission denial output to one line.
Bug: 23940813
Change-Id: I0060dbaff5cd0c3d028ac5cd7aba7da3f0371150
Diffstat (limited to 'services')
-rw-r--r-- | services/camera/libcameraservice/CameraService.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/camera/libcameraservice/CameraService.cpp b/services/camera/libcameraservice/CameraService.cpp index 7e33e0c..2aaefe9 100644 --- a/services/camera/libcameraservice/CameraService.cpp +++ b/services/camera/libcameraservice/CameraService.cpp @@ -2265,7 +2265,7 @@ status_t CameraService::dump(int fd, const Vector<String16>& args) { String8 result("Dump of the Camera Service:\n"); if (checkCallingPermission(String16("android.permission.DUMP")) == false) { - result.appendFormat("Permission Denial: " + result = result.format("Permission Denial: " "can't dump CameraService from pid=%d, uid=%d\n", getCallingPid(), getCallingUid()); |