exynos: Allow livedisplay to write to /data/vendor/display
Change-Id: Ie692360545c5a78aca1418d2ad6912c2429ccc71
diff --git a/exynos/vendor/hal_lineage_livedisplay_exynos.te b/exynos/vendor/hal_lineage_livedisplay_exynos.te
index c3b0dc1..eaa8413 100644
--- a/exynos/vendor/hal_lineage_livedisplay_exynos.te
+++ b/exynos/vendor/hal_lineage_livedisplay_exynos.te
@@ -6,3 +6,7 @@
# Allow LiveDisplay HAL's default implementation to use vendor-binder service
vndbinder_use(hal_lineage_livedisplay_exynos)
+
+# Allow LiveDisplay to store files under /data/vendor/display and access them
+allow hal_lineage_livedisplay_exynos display_vendor_data_file:dir rw_dir_perms;
+allow hal_lineage_livedisplay_exynos display_vendor_data_file:file create_file_perms;