Update the vendor API level requirement to 202404

Bug: 302018405
Test: atest VtsHalThermalTargetTest

Change-Id: If3d94374a6096dacc0ed78b0dc933d79adc148d8
This commit is contained in:
Xiang Wang 2024-06-05 18:04:34 +00:00
parent 6aad84d933
commit 51016462ea

View file

@ -352,8 +352,8 @@ TEST_P(ThermalAidlTest, TemperatureThresholdTest) {
// @VsrTest = VSR-3.2.5-002 // @VsrTest = VSR-3.2.5-002
TEST_P(ThermalAidlTest, SkinTemperatureThresholdsTest) { TEST_P(ThermalAidlTest, SkinTemperatureThresholdsTest) {
auto apiLevel = ::android::base::GetIntProperty<int32_t>("ro.vendor.api_level", 0); auto apiLevel = ::android::base::GetIntProperty<int32_t>("ro.vendor.api_level", 0);
if (apiLevel < 35) { if (apiLevel < 202404) {
GTEST_SKIP() << "Skipping test as the vendor level is below 35: " << apiLevel; GTEST_SKIP() << "Skipping test as the vendor level is below 202404: " << apiLevel;
} }
for (const auto& feature : kNonHandheldFeatures) { for (const auto& feature : kNonHandheldFeatures) {
if (::testing::deviceSupportsFeature(feature.c_str())) { if (::testing::deviceSupportsFeature(feature.c_str())) {