summaryrefslogtreecommitdiff
path: root/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTestOnMockModem.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTestOnMockModem.java')
-rw-r--r--tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTestOnMockModem.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTestOnMockModem.java b/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTestOnMockModem.java
index dae46f7fb61..78fb0af896c 100644
--- a/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTestOnMockModem.java
+++ b/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTestOnMockModem.java
@@ -147,6 +147,12 @@ public class TelephonyManagerTestOnMockModem {
sCallStateChangeCallbackHandler =
new Handler(sCallStateChangeCallbackHandlerThread.getLooper());
mShaId = getShaId(TelephonyUtils.CTS_APP_PACKAGE);
+
+ final PackageManager pm = getContext().getPackageManager();
+ if (pm.hasSystemFeature(PackageManager.FEATURE_WATCH)) {
+ //Wait for Telephony FW and RIL initialization are done
+ TimeUnit.SECONDS.sleep(4);
+ }
}
@AfterClass