summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDante Russo <drusso@codeaurora.org>2015-10-22 15:57:45 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2015-10-31 02:59:17 -0700
commitae8be8eff155448bb04bc79f5e8b587a1d85ff4c (patch)
tree32d601e2353ffc67d8b79c0e0570eb108c58c751
parent90e596930f2ee3137dbf3f73ae5141d7e8e1f48e (diff)
downloadandroid_device_qcom_sepolicy-ae8be8eff155448bb04bc79f5e8b587a1d85ff4c.tar.gz
android_device_qcom_sepolicy-ae8be8eff155448bb04bc79f5e8b587a1d85ff4c.tar.bz2
android_device_qcom_sepolicy-ae8be8eff155448bb04bc79f5e8b587a1d85ff4c.zip
Enable location_app find permission for user builds
Surfaceflinger find permisson for location_app was enabled only for userdebug and eng builds, but it needs to be present for user builds as well. Change-Id: I61799880242e65e88aa5eb195f19f2f522109a0b CRs-fixed: 928654
-rw-r--r--common/location_app.te2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/location_app.te b/common/location_app.te
index a2ef5690..4484be8f 100644
--- a/common/location_app.te
+++ b/common/location_app.te
@@ -7,9 +7,9 @@ qmux_socket(location_app)
#Permissions for JDWP
userdebug_or_eng(`
allow location_app { adbd su }:unix_stream_socket connectto;
- allow location_app surfaceflinger_service:service_manager find;
')
+allow location_app surfaceflinger_service:service_manager find;
allow location_app location_app_data_file:dir create_dir_perms;
allow location_app location_app_data_file:file create_file_perms ;
allow location_app location_data_file:dir rw_dir_perms;