On 12/24/19 5:10 AM, Jason Zaman wrote:
Chromium will inhibit power saving when playing videos.
Signed-off-by: Jason Zaman <jason@xxxxxxxxxxxxx>
---
policy/modules/apps/chromium.if | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/policy/modules/apps/chromium.if b/policy/modules/apps/chromium.if
index 2ded3279..f236171e 100644
--- a/policy/modules/apps/chromium.if
+++ b/policy/modules/apps/chromium.if
@@ -22,6 +22,7 @@ interface(`chromium_role',`
type chromium_sandbox_t;
type chromium_naclhelper_t;
type chromium_exec_t;
+ class dbus send_msg;
')
role $1 types chromium_t;
@@ -42,6 +43,9 @@ interface(`chromium_role',`
allow chromium_sandbox_t $2:fd use;
allow chromium_naclhelper_t $2:fd use;
+
+ allow $2 chromium_t:dbus send_msg;
+ allow chromium_t $2:dbus send_msg;
')
#######################################
Merged.
--
Chris PeBenito