Remove OEM_UNLOCK_PROP usage

* It was only used for adb host scripts, but after commit
   "Remove sys.oem_unlock_allowed check for Android device"
   in 2016, there is no usage for it. Remove it because this prop
   is now exposed to untrusted apps, which is not desirable.

Change-Id: Ic1c2f4e06b3a07ecf3f724fe5085974c626cb3fc
This commit is contained in:
Han Wang 2023-12-31 02:46:38 +00:00
parent 65daca3b88
commit 47718268d4

View file

@ -729,7 +729,6 @@ TEST(propertyinfoserializer, RealProperties) {
{"sys.ims.QMI_DAEMON_STATUS", "u:object_r:qcom_ims_prop:s0"},
{"sys.listeners.registered", "u:object_r:qseecomtee_prop:s0"},
{"sys.logbootcomplete", "u:object_r:system_prop:s0"},
{"sys.oem_unlock_allowed", "u:object_r:system_prop:s0"},
{"sys.qcom.devup", "u:object_r:system_prop:s0"},
{"sys.sysctl.extra_free_kbytes", "u:object_r:system_prop:s0"},
{"sys.usb.config", "u:object_r:system_radio_prop:s0"},