From 7a393427bef50828abf92bc5cfabffbf35e26c6c Mon Sep 17 00:00:00 2001 From: Wei Liu <luciferleo@google.com> Date: Thu, 18 Aug 2016 16:17:11 -0700 Subject: [PATCH] Allow dumpstate to use wake_lock. DO NOT MERGE. (cherry picked from commit e123f06123dff9a3a4f5fc4ffd8b52162a91bb4e) BUG: 31828706 BUG: 30832947 Change-Id: Icd5117d655f1197524b39fe7bc1b11c4d920093c (cherry picked from commit c78db969f994455a4b3c77a83b241a30ed44d685) --- dumpstate.te | 1 + 1 file changed, 1 insertion(+) diff --git a/dumpstate.te b/dumpstate.te index 94e8ffddf..115bb0949 100644 --- a/dumpstate.te +++ b/dumpstate.te @@ -5,6 +5,7 @@ type dumpstate_exec, exec_type, file_type; init_daemon_domain(dumpstate) net_domain(dumpstate) binder_use(dumpstate) +wakelock_use(dumpstate) # Allow setting process priority, protect from OOM killer, and dropping # privileges by switching UID / GID -- GitLab