Allow Keystore to check security logging property.
This is needed to allow it to log audit events.
Test: manual, import a key and see adb shell su system logcat -b security
Bug: 70886042
Change-Id: Icd3c13172d47f8eac7c2a97c306d8c654e634f88
diff --git a/private/keystore.te b/private/keystore.te
index 90c4727..7f71028 100644
--- a/private/keystore.te
+++ b/private/keystore.te
@@ -14,3 +14,6 @@
# Offer the Wifi Keystore HwBinder service
typeattribute keystore wifi_keystore_service_server;
add_hwservice(keystore, system_wifi_keystore_hwservice)
+
+# Allow to check whether security logging is enabled.
+get_prop(keystore, device_logging_prop)