Loading init/host_init_stubs.h +0 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,6 @@ #define __ANDROID_API_S__ 31 #define __ANDROID_API_T__ 33 #define __ANDROID_API_U__ 34 #define __ANDROID_API_V__ 35 // sys/system_properties.h #define PROP_VALUE_MAX 92 Loading init/init_test.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -630,7 +630,7 @@ service A something ASSERT_TRUE(parser.ParseConfig(tf.path)); if (GetIntProperty("ro.vendor.api_level", 0) > __ANDROID_API_V__) { if (GetIntProperty("ro.vendor.api_level", 0) > 202404) { ASSERT_EQ(1u, parser.parse_error_count()); } else { ASSERT_EQ(0u, parser.parse_error_count()); Loading init/service_parser.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -680,7 +680,7 @@ Result<void> ServiceParser::EndSection() { } if (service_->proc_attr_.parsed_uid == std::nullopt) { if (android::base::GetIntProperty("ro.vendor.api_level", 0) > __ANDROID_API_V__) { if (android::base::GetIntProperty("ro.vendor.api_level", 0) > 202404) { return Error() << "No user specified for service '" << service_->name() << "', so it would have been root."; } else { Loading Loading
init/host_init_stubs.h +0 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,6 @@ #define __ANDROID_API_S__ 31 #define __ANDROID_API_T__ 33 #define __ANDROID_API_U__ 34 #define __ANDROID_API_V__ 35 // sys/system_properties.h #define PROP_VALUE_MAX 92 Loading
init/init_test.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -630,7 +630,7 @@ service A something ASSERT_TRUE(parser.ParseConfig(tf.path)); if (GetIntProperty("ro.vendor.api_level", 0) > __ANDROID_API_V__) { if (GetIntProperty("ro.vendor.api_level", 0) > 202404) { ASSERT_EQ(1u, parser.parse_error_count()); } else { ASSERT_EQ(0u, parser.parse_error_count()); Loading
init/service_parser.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -680,7 +680,7 @@ Result<void> ServiceParser::EndSection() { } if (service_->proc_attr_.parsed_uid == std::nullopt) { if (android::base::GetIntProperty("ro.vendor.api_level", 0) > __ANDROID_API_V__) { if (android::base::GetIntProperty("ro.vendor.api_level", 0) > 202404) { return Error() << "No user specified for service '" << service_->name() << "', so it would have been root."; } else { Loading