diff options
author | Pawit Pornkitprasan <p.pawit@gmail.com> | 2012-11-24 08:25:55 +0700 |
---|---|---|
committer | Pawit Pornkitprasan <p.pawit@gmail.com> | 2012-12-11 16:37:46 +0700 |
commit | 0d9078995804d4344b356c08a8770e5820e2a8de (patch) | |
tree | b861537c19f4d5003cb2eb9f58c3e48fc7b5f5df /libcamera | |
parent | f8b15eb366c7a9bb13e51451e2beb1b2eb0f7107 (diff) | |
download | device_samsung_aries-common-0d9078995804d4344b356c08a8770e5820e2a8de.zip device_samsung_aries-common-0d9078995804d4344b356c08a8770e5820e2a8de.tar.gz device_samsung_aries-common-0d9078995804d4344b356c08a8770e5820e2a8de.tar.bz2 |
aries-common: Jellybean 4.2 bring up
Change-Id: I96c39dc243c3cf2379ee6a41eda74cde75ba3bf9
Diffstat (limited to 'libcamera')
-rwxr-xr-x | libcamera/SecCameraHWInterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcamera/SecCameraHWInterface.cpp b/libcamera/SecCameraHWInterface.cpp index d66f12f..2d4999c 100755 --- a/libcamera/SecCameraHWInterface.cpp +++ b/libcamera/SecCameraHWInterface.cpp @@ -979,7 +979,7 @@ void CameraHardwareSec::save_postview(const char *fname, uint8_t *buf, uint32_t uint32_t written = 0; ALOGD("opening file [%s]\n", fname); - int fd = open(fname, O_RDWR | O_CREAT); + int fd = open(fname, O_RDWR | O_CREAT, 0600); if (fd < 0) { ALOGE("failed to create file [%s]: %s", fname, strerror(errno)); return; |