Add Factory OTA property for GRIL service
- Add persist.vendor.radio.bootwithlpm to vendor_radio_prop.
- Let GRIL service can set vendor_radio_prop.
Bug: 131031938
Test: Build pass and function works
Change-Id: I5e81fe078dc5204d6a6ec7989c7d57002de8a23a
diff --git a/vendor/google/hal_radioext_default.te b/vendor/google/hal_radioext_default.te
index 570991c..1d2f6ea 100644
--- a/vendor/google/hal_radioext_default.te
+++ b/vendor/google/hal_radioext_default.te
@@ -31,4 +31,6 @@
allow hal_radioext_default modem_stat_data_file:file create_file_perms;
+set_prop(hal_radioext_default, vendor_radio_prop)
+
dontaudit hal_radioext_default kernel:system module_request;
diff --git a/vendor/qcom/common/property_contexts b/vendor/qcom/common/property_contexts
index a3fe63b..66b12ed 100644
--- a/vendor/qcom/common/property_contexts
+++ b/vendor/qcom/common/property_contexts
@@ -4,7 +4,6 @@
ro.boot.sota u:object_r:factory_ota_prop:s0
persist.vendor.factoryota.reboot u:object_r:exported_system_prop:s0
-persist.vendor.radio.bootwithlpm u:object_r:exported_system_prop:s0
vendor.audio.volume.listener.dump u:object_r:vendor_audio_prop:s0
vendor.audio.volume.headset.gain.depcal u:object_r:vendor_audio_prop:s0