sepolicy: common: Add rules for FM Radio app properties
Change-Id: I0d18885d7634a3e3927b939d893062112841a422
diff --git a/common/vendor/property.te b/common/vendor/property.te
new file mode 100644
index 0000000..70e937d
--- /dev/null
+++ b/common/vendor/property.te
@@ -0,0 +1,2 @@
+# FM Radio app
+vendor_public_prop(vendor_fm_radio_app_prop);
diff --git a/common/vendor/property_contexts b/common/vendor/property_contexts
new file mode 100644
index 0000000..feb9a17
--- /dev/null
+++ b/common/vendor/property_contexts
@@ -0,0 +1,2 @@
+# FM Radio app
+ro.vendor.builtin_fm_antenna_support u:object_r:vendor_fm_radio_app_prop:s0 exact bool
diff --git a/common/vendor/system_app.te b/common/vendor/system_app.te
new file mode 100644
index 0000000..4b85a0b
--- /dev/null
+++ b/common/vendor/system_app.te
@@ -0,0 +1,2 @@
+# FM Radio app
+get_prop(system_app, vendor_fm_radio_app_prop);
diff --git a/common/vendor/vendor_init.te b/common/vendor/vendor_init.te
new file mode 100644
index 0000000..3c8b31f
--- /dev/null
+++ b/common/vendor/vendor_init.te
@@ -0,0 +1,2 @@
+# FM Radio app properties
+set_prop(vendor_init, vendor_fm_radio_app_prop);