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

Commit 058de98e authored by Aaron Tsai's avatar Aaron Tsai Committed by Gerrit Code Review
Browse files

Merge "Fix VTS crash for getAvailableNetworks in Radio 1.6"

parents 0a3ca7b6 845f0fbd
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -45,12 +45,10 @@ TEST_P(RadioHidlTest_v1_6, getAvailableNetworks) {
               ::android::hardware::radio::V1_0::RadioError::NONE) {
        static const std::regex kOperatorNumericRe("^[0-9]{5,6}$");
        for (OperatorInfo info : radioRsp_v1_6->networkInfos) {
            if (info.operatorNumeric != nullptr) {
            ASSERT_TRUE(
                    std::regex_match(std::string(info.operatorNumeric), kOperatorNumericRe));
        }
    }
    }

    LOG(DEBUG) << "getAvailableNetworks finished";
}