Fix modem_svc sepolicy on user build

08-14 11:49:22.098  logd 14788 14788 W modem_svc: type=1400 audit(0.0:500): avc: denied { use } for path="/data/user_de/0/com.android.shell/files/bugreports/dumpstate_board.txt" dev="dm-9" ino=5922 scontext=u:r:modem_svc:s0 tcontext=u:r:dumpstate:s0 tclass=fd permissive=0
08-14 11:49:22.098  logd 14788 14788 W modem_svc: type=1400 audit(0.0:501): avc: denied { use } for path="/vendor/bin/modem_svc" dev="dm-7" ino=244 scontext=u:r:modem_svc:s0 tcontext=u:r:hal_dumpstate_impl:s0 tclass=fd permissive=0

Bug: 164261124
Change-Id: I44a6952ec78b51ad594dd32cbe4a5b4287f4606c
diff --git a/vendor/google/modem_svc.te b/vendor/google/modem_svc.te
index f09bfac..a30368d 100644
--- a/vendor/google/modem_svc.te
+++ b/vendor/google/modem_svc.te
@@ -12,11 +12,9 @@
 get_prop(modem_svc, vendor_build_type_prop)
 
 # For bugreport collection
-userdebug_or_eng(`
-  allow modem_svc hal_dumpstate_impl:fd use;
-  allow modem_svc dumpstate:fd use;
-  allow modem_svc shell_data_file:file write;
-')
+allow modem_svc hal_dumpstate_impl:fd use;
+allow modem_svc dumpstate:fd use;
+allow modem_svc shell_data_file:file write;
 
 dontaudit modem_svc sysfs_msm_subsys:dir r_dir_perms;
 dontaudit modem_svc sysfs_ssr:file r_file_perms;