Cleanup for #inclusivefixit.

Test: build
Change-Id: Ib2f264feae69fbbda5fe1e1c315b6116ecf520fa
This commit is contained in:
Tom Cherry 2020-07-28 10:56:12 -07:00
parent 9c6d60d073
commit 15786e407f

View file

@ -269,7 +269,7 @@ bool ContextsSplit::InitializeProperties() {
if (!InitializePropertiesFromFile("/system/etc/selinux/plat_property_contexts")) {
return false;
}
// Don't check for failure here, so we always have a sane list of properties.
// Don't check for failure here, since we don't always have all of these partitions.
// E.g. In case of recovery, the vendor partition will not have mounted and we
// still need the system / platform properties to function.
if (access("/vendor/etc/selinux/vendor_property_contexts", R_OK) != -1) {