From ed1bca4b5225abf377ca30f53e36bb15fefd8815 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 29 Mar 2022 17:47:53 -0700 Subject: [PATCH] ueventd: Allow legacy paths in API version 32. Bug: 226699360 Test: manual test Change-Id: I2602eaa217a2b6cba8a5fb8acd6d5a8a9e3d405e --- init/ueventd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/ueventd.cpp b/init/ueventd.cpp index 68c6b510e..c6bf708a3 100644 --- a/init/ueventd.cpp +++ b/init/ueventd.cpp @@ -303,7 +303,7 @@ static UeventdConfiguration GetConfiguration() { std::vector 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 {