Android P renamed nonplat_properties

This commit is contained in:
topjohnwu 2018-03-11 02:53:57 +08:00
parent e4e5269836
commit 76c9188fae

View File

@ -1116,7 +1116,8 @@ static bool initialize_properties() {
if (!initialize_properties_from_file("/system/etc/selinux/plat_property_contexts")) {
return false;
}
if (!initialize_properties_from_file("/vendor/etc/selinux/nonplat_property_contexts")) {
if (!initialize_properties_from_file("/vendor/etc/selinux/nonplat_property_contexts")
&& !initialize_properties_from_file("/vendor/etc/selinux/vendor_property_contexts")) {
return false;
}
} else {