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

Commit b3fefa5a authored by Tomasz Wasilczyk's avatar Tomasz Wasilczyk
Browse files

Skip testing of deprecated getDeviceIdentity on new interfaces

Bug: 379356026
Test: atest VtsHalRadioTargetTest
Flag: TEST_ONLY
Change-Id: If2097681b7b7eade47e8578a125942d0103c5a04
parent 76c09aa6
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -201,6 +201,13 @@ TEST_P(RadioModemTest, getDeviceIdentity) {
        GTEST_SKIP() << "Skipping getDeviceIdentity "
                        "due to undefined FEATURE_TELEPHONY";
    }
    int32_t aidl_version;
    ndk::ScopedAStatus aidl_status = radio_modem->getInterfaceVersion(&aidl_version);
    ASSERT_OK(aidl_status);
    if (aidl_version >= 4) {
        ALOGI("Skipped the test since getDeviceIdentity is deprecated");
        GTEST_SKIP();
    }

    serial = GetRandomSerialNumber();