Skip togglingUiccApplicationsSimPresent if it's eSIM empty profile.

Bug: 169802419
Test: run vts on dsds device.
Change-Id: I2319aa6fe86bfc415b1d1ea0aaefb80f4c7ddff3
This commit is contained in:
Malcolm Chen 2020-11-02 14:17:59 -08:00 committed by Xiangyu/Malcolm Chen
parent 8b1ac7ada3
commit 3449e1c24c

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();