Update the vendor API level requirement to 202404
Bug: 302018405 Test: atest VtsHalThermalTargetTest Change-Id: If3d94374a6096dacc0ed78b0dc933d79adc148d8
This commit is contained in:
parent
6aad84d933
commit
51016462ea
1 changed files with 2 additions and 2 deletions
|
@ -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())) {
|
||||||
|
|
Loading…
Reference in a new issue