Skip togglingUiccApplicationsSimPresent if it's eSIM empty profile. am: f72c5c861e

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1486347

Change-Id: I39bc532da430333a2fd9f6aa3a17a831e7d7edce
This commit is contained in:
Malcolm Chen
2020-11-05 03:36:07 +00:00
committed by Automerger Merge Worker

View File

@@ -437,6 +437,7 @@ TEST_P(RadioHidlTest_v1_5, togglingUiccApplicationsSimAbsent) {
TEST_P(RadioHidlTest_v1_5, togglingUiccApplicationsSimPresent) {
// This test case only test SIM ABSENT case.
if (cardStatus.base.base.base.cardState != CardState::PRESENT) return;
if (cardStatus.applications.size() == 0) return;
// Disable Uicc applications.
serial = GetRandomSerialNumber();