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

Commit b91735c5 authored by Tomasz Wasilczyk's avatar Tomasz Wasilczyk Committed by Android (Google) Code Review
Browse files

Merge "Skip testing of deprecated getDeviceIdentity on new interfaces" into main

parents fc710ee2 b3fefa5a
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();