Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51016462 authored by Xiang Wang's avatar Xiang Wang
Browse files

Update the vendor API level requirement to 202404

Bug: 302018405
Test: atest VtsHalThermalTargetTest

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