Merge "Let shell and bugreport read logging related properties." into oc-dev
diff --git a/public/dumpstate.te b/public/dumpstate.te
index 587156f..cfc2b3d 100644
--- a/public/dumpstate.te
+++ b/public/dumpstate.te
@@ -186,6 +186,9 @@
# Read device's serial number from system properties
get_prop(dumpstate, serialno_prop)
+# Read state of logging-related properties
+get_prop(dumpstate, device_logging_prop)
+
# Access to /data/media.
# This should be removed if sdcardfs is modified to alter the secontext for its
# accesses to the underlying FS.
diff --git a/public/shell.te b/public/shell.te
index fd0f2ef..1fb896a 100644
--- a/public/shell.te
+++ b/public/shell.te
@@ -75,6 +75,9 @@
# Read device's serial number from system properties
get_prop(shell, serialno_prop)
+# Read state of logging-related properties
+get_prop(shell, device_logging_prop)
+
# allow shell access to services
allow shell servicemanager:service_manager list;
# don't allow shell to access GateKeeper service