From 1af3d90f2431cf9e9b961fe6dc6e4e09fd0c1dc7 Mon Sep 17 00:00:00 2001 From: Remi NGUYEN VAN Date: Fri, 17 Nov 2023 04:14:32 +0000 Subject: [PATCH] Improve message for SIM cards not supporting data The previous message is not clear about the fact that there is a SIM card inserted. Clarify it. Change-Id: I2391d9fa7762b6225438049199f9f178a8b24d41 --- .../testutils/connectivitypreparer/ConnectivityCheckTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/staticlibs/testutils/app/connectivitychecker/src/com/android/testutils/connectivitypreparer/ConnectivityCheckTest.kt b/staticlibs/testutils/app/connectivitychecker/src/com/android/testutils/connectivitypreparer/ConnectivityCheckTest.kt index d75d9ca3af..df6067dda6 100644 --- a/staticlibs/testutils/app/connectivitychecker/src/com/android/testutils/connectivitypreparer/ConnectivityCheckTest.kt +++ b/staticlibs/testutils/app/connectivitychecker/src/com/android/testutils/connectivitypreparer/ConnectivityCheckTest.kt @@ -61,8 +61,8 @@ class ConnectivityCheckTest { commonError) } assertTrue(tm.isDataConnectivityPossible, - "The device is not setup with a SIM card that supports data connectivity. " + - commonError) + "The device has a SIM card, but it does not supports data connectivity. " + + "Check the data plan, and verify that mobile data is working. " + commonError) connectUtil.ensureCellularValidated() } }