Sepolicy for dumsys suspend_control in bugreport
Bug: 155836352
Test: adb shell am bug-report && check logcat for denials
Change-Id: I8b65ea7c798121679bf27ce667c787a8dcbf5aae
diff --git a/private/system_suspend.te b/private/system_suspend.te
index 857fea8..acb45ba 100644
--- a/private/system_suspend.te
+++ b/private/system_suspend.te
@@ -24,6 +24,10 @@
# To call BTAA registered callbacks
allow system_suspend bluetooth:binder call;
+# For adding `dumpsys syspend_control` output to bugreport
+allow system_suspend dumpstate:fd use;
+allow system_suspend dumpstate:fifo_file write;
+
neverallow {
domain
-atrace # tracing