Merge "ueventd: Allow legacy paths in API version 32."

This commit is contained in:
David Anderson 2022-03-30 21:45:46 +00:00 committed by Gerrit Code Review
commit 48d403a511

View file

@ -303,7 +303,7 @@ static UeventdConfiguration GetConfiguration() {
std::vector<std::string> canonical{"/system/etc/ueventd.rc"};
if (android::base::GetIntProperty("ro.product.first_api_level", 10000) <= __ANDROID_API_S__) {
if (android::base::GetIntProperty("ro.product.first_api_level", 10000) < __ANDROID_API_T__) {
// TODO: Remove these legacy paths once Android S is no longer supported.
canonical.insert(canonical.end(), legacy_paths.begin(), legacy_paths.end());
} else {