atv: Allow setupwraith configs to be set by vendor

Change-Id: I0e2831019d5bbb9d432bbad48cd91c98f3c3cb6f
(cherry picked from commit 72049da6bc559ad5e57a2824b975fba5102258a0)
diff --git a/atv/sepolicy.mk b/atv/sepolicy.mk
new file mode 100644
index 0000000..43af961
--- /dev/null
+++ b/atv/sepolicy.mk
@@ -0,0 +1,9 @@
+#
+# This policy configuration will be used by atv products that
+# inherit from Lineage
+#
+
+ifneq ($(TARGET_USES_PREBUILT_VENDOR_SEPOLICY), true)
+BOARD_SEPOLICY_DIRS += \
+    device/lineage/sepolicy/atv/vendor
+endif
diff --git a/atv/vendor/property_contexts b/atv/vendor/property_contexts
new file mode 100644
index 0000000..9ff3498
--- /dev/null
+++ b/atv/vendor/property_contexts
@@ -0,0 +1,2 @@
+# Allow vendor to set suw configs
+atv.setup.          u:object_r:exported_default_prop:s0
diff --git a/common/sepolicy.mk b/common/sepolicy.mk
index dd88a88..1a55071 100644
--- a/common/sepolicy.mk
+++ b/common/sepolicy.mk
@@ -27,3 +27,8 @@
 
 # Selectively include legacy rules defined by the products
 -include device/lineage/sepolicy/legacy-common/sepolicy.mk
+
+# Include atv rules on atv product
+ifeq ($(PRODUCT_IS_ATV), true)
+include device/lineage/sepolicy/atv/sepolicy.mk
+endif