ueventd: Allow legacy paths in API version 32.
Bug: 226699360 Test: manual test Change-Id: I2602eaa217a2b6cba8a5fb8acd6d5a8a9e3d405e
This commit is contained in:
parent
ec8519e953
commit
ed1bca4b52
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue