diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-04-20 10:12:42 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-04-20 10:12:42 +0000 |
commit | 6086fd5daa72aa534d75439c81d36e2e3fde585b (patch) | |
tree | 70acba84ee6b678bc569632acd4a9ee174e6f608 | |
parent | 38191dc6b7f795cb9a96e418f47ee0de0b0a8d13 (diff) | |
parent | a3a7e59704a48c41e40bae13ceadc4cf8c76a7bf (diff) |
Snap for 8474314 from a3a7e59704a48c41e40bae13ceadc4cf8c76a7bf to s-keystone-qcom-release
Change-Id: I633739ddcb382407df3d6f5dbfc0030e8fd9acee
-rw-r--r-- | init/ueventd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/ueventd.cpp b/init/ueventd.cpp index 331255b1e..1b0b0daa8 100644 --- a/init/ueventd.cpp +++ b/init/ueventd.cpp @@ -269,7 +269,7 @@ void ColdBoot::Run() { static UeventdConfiguration GetConfiguration() { // TODO: Remove these legacy paths once Android S is no longer supported. - if (android::base::GetIntProperty("ro.product.first_api_level", 10000) <= __ANDROID_API_S__) { + if (android::base::GetIntProperty("ro.product.first_api_level", 10000) < 33) { auto hardware = android::base::GetProperty("ro.hardware", ""); return ParseConfig({"/system/etc/ueventd.rc", "/vendor/ueventd.rc", "/odm/ueventd.rc", "/ueventd." + hardware + ".rc"}); |