qcom: Allow location read xtra-daemon control property

Change-Id: If869f21c4397c65672c9319990d8dc4baca2aa3a
diff --git a/qcom/sepolicy.mk b/qcom/sepolicy.mk
index 24822be..44cb2fc 100644
--- a/qcom/sepolicy.mk
+++ b/qcom/sepolicy.mk
@@ -27,10 +27,14 @@
     display_vendor_data_file=vendor_display_vendor_data_file \
     hal_keymaster_qti_exec=vendor_hal_keymaster_qti_exec \
     hal_perf_default=vendor_hal_perf_default \
+    location_domain=vendor_location \
     persist_block_device=vendor_persist_block_device \
     qdisplay_service=vendor_qdisplay_service \
     sysfs_battery_supply=vendor_sysfs_battery_supply \
     sysfs_graphics=vendor_sysfs_graphics \
     sysfs_socinfo_sensitive=vendor_sysfs_soc_sensitive \
     sysfs_usb_supply=vendor_sysfs_usb_supply
+else
+BOARD_SEPOLICY_M4DEFS += \
+    location_domain=location
 endif
diff --git a/qcom/vendor/location.te b/qcom/vendor/location.te
new file mode 100644
index 0000000..76b8ff3
--- /dev/null
+++ b/qcom/vendor/location.te
@@ -0,0 +1,2 @@
+# xtra-daemon control
+get_prop(location_domain, xtra_control_prop)