Skip to content
Snippets Groups Projects
Commit 2e484664 authored by Indrajeet Kumar's avatar Indrajeet Kumar Committed by Gerrit - the friendly Code Review server
Browse files

Remove temp patch for camcorder fix

Fix landed upstream

Change-Id: If0caebf4c101527e322f4137a9b7f2c7c8c2f512
parent db47b39e
No related branches found
No related tags found
No related merge requests found
diff --git a/ipc/chromium/src/base/process_util_linux.cc b/ipc/chromium/src/base/process_util_linux.cc
index bf34384..63d63ee 100644
--- a/ipc/chromium/src/base/process_util_linux.cc
+++ b/ipc/chromium/src/base/process_util_linux.cc
@@ -303,7 +303,7 @@ void SetCurrentProcessPrivileges(ChildPrivileges privs) {
uid += getpid();
}
if (privs == PRIVILEGES_CAMERA) {
- gid_t groups[] = { AID_SDCARD_RW };
+ gid_t groups[] = { AID_SDCARD_R, AID_SDCARD_RW, AID_MEDIA_RW };
if (setgroups(sizeof(groups) / sizeof(groups[0]), groups) != 0) {
DLOG(ERROR) << "FAILED TO setgroups() CHILD PROCESS";
_exit(127);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment