summaryrefslogtreecommitdiff
path: root/init/ueventd.cpp
diff options
context:
space:
mode:
authoralk3pInjection <webmaster@raspii.tech>2022-06-02 22:45:00 +0800
committeralk3pInjection <webmaster@raspii.tech>2022-06-02 22:45:00 +0800
commita66af6b66829b8ee6aef6718669785f31460fd4f (patch)
tree58467c3ac170f8b691b8bf093054043855be5e62 /init/ueventd.cpp
parent95c83561cfc5817487e0c27ac8ae6892cc1d1219 (diff)
parentcb9c7554c206a53fad96ad175e182cbaf94c7dc1 (diff)
Merge tag 'LA.QSSI.12.0.r1-07600-qssi.0' into sugisawa-mr1
"LA.QSSI.12.0.r1-07600-qssi.0" Change-Id: Iad9e2be9a76060a64223f9cddca8f5ae6b6eb952
Diffstat (limited to 'init/ueventd.cpp')
-rw-r--r--init/ueventd.cpp2
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"});