summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcommon/mm-pp-daemon.te2
-rw-r--r--common/system_server.te1
2 files changed, 2 insertions, 1 deletions
diff --git a/common/mm-pp-daemon.te b/common/mm-pp-daemon.te
index 6c40e452..5a623349 100755
--- a/common/mm-pp-daemon.te
+++ b/common/mm-pp-daemon.te
@@ -14,7 +14,7 @@ allow mm-pp-daemon persist_file:dir search;
# Allow pp daemon to save settings to /data
allow mm-pp-daemon display_config:file rw_file_perms;
-
+allow mm-pp-daemon system_prop:property_service set;
#Calibration can only be done on userdebug or eng builds
userdebug_or_eng(`
# Display calibration service opens /dev/diag in order to communicate with the
diff --git a/common/system_server.te b/common/system_server.te
index 49897307..8967e3c6 100644
--- a/common/system_server.te
+++ b/common/system_server.te
@@ -35,6 +35,7 @@ allow system_server location_data_file:dir rw_dir_perms;
allow system_server location_data_file:fifo_file create_file_perms;
allow system_server location_socket:sock_file rw_file_perms;
allow system_server location_app_data_file:dir r_dir_perms;
+allow system_server location_data_file:sock_file rw_file_perms;
#For wifistatemachine
allow system_server kernel:key search;