Revert "add sepolicy type for widevine/drm hal in system"
This reverts commit ea494f23bdc82ea546affd669a1ed7157b7dfa43.
Reason for revert: Droidmonitor created revert due to b/398929391. Will be verifying through ABTD before submission.
Change-Id: I80786a1e9c435fbec45f20ae5a49f3b374883f86
diff --git a/private/hal_drm.te b/private/hal_drm.te
index f24c326..211fbb7 100644
--- a/private/hal_drm.te
+++ b/private/hal_drm.te
@@ -33,7 +33,7 @@
allow hal_drm_server shell:fifo_file write;
# Allow access to ion memory allocation device
-allow { hal_drm -hal_widevine_system } ion_device:chr_file rw_file_perms;
+allow hal_drm ion_device:chr_file rw_file_perms;
allow hal_drm hal_graphics_allocator:fd use;
# Allow access to hidl_memory allocation service
@@ -42,9 +42,9 @@
# Allow access to fds allocated by mediaserver
allow hal_drm mediaserver:fd use;
-allow { hal_drm -hal_widevine_system } sysfs:file r_file_perms;
+allow hal_drm sysfs:file r_file_perms;
-allow { hal_drm -hal_widevine_system } tee_device:chr_file rw_file_perms;
+allow hal_drm tee_device:chr_file rw_file_perms;
allow hal_drm_server { appdomain -isolated_app }:fd use;