Snap for 5018454 from 2ab23bf326076e466c84307925c6846e1304175e to oreo-mr1-vts-release

Change-Id: I739ef3651b516c736ef7cfc6dccf02530c0e62f6
diff --git a/public/domain.te b/public/domain.te
index f5c72cc..357ce18 100644
--- a/public/domain.te
+++ b/public/domain.te
@@ -687,6 +687,7 @@
         -installd
         -postinstall_dexopt
         -system_server
+        -mediaserver
     } vendor_app_file:{ file lnk_file } r_file_perms;
 
     # Limit access to /vendor/overlay
diff --git a/public/mediaserver.te b/public/mediaserver.te
index 6efaf0f..93783fb 100644
--- a/public/mediaserver.te
+++ b/public/mediaserver.te
@@ -102,6 +102,9 @@
 allow mediaserver oemfs:dir search;
 allow mediaserver oemfs:file r_file_perms;
 
+# /vendor apk access
+allow mediaserver vendor_app_file:file r_file_perms;
+
 use_drmservice(mediaserver)
 allow mediaserver drmserver:drmservice {
     consumeRights