Use example.com for strict mode cts test.
android.com domain might not be available in some countries.
Bug: 21209251
Change-Id: I4b41e3339bcb160ed0150175d09a4332422e60bb
diff --git a/tests/tests/os/src/android/os/cts/StrictModeTest.java b/tests/tests/os/src/android/os/cts/StrictModeTest.java
index 797f91f..7ebe817 100644
--- a/tests/tests/os/src/android/os/cts/StrictModeTest.java
+++ b/tests/tests/os/src/android/os/cts/StrictModeTest.java
@@ -58,7 +58,7 @@
+ android.os.Process.myUid();
// Insecure connection should be detected
- ((HttpURLConnection) new URL("http://android.com/").openConnection()).getResponseCode();
+ ((HttpURLConnection) new URL("http://example.com/").openConnection()).getResponseCode();
// Give system enough time to finish logging
SystemClock.sleep(5000);
@@ -76,7 +76,7 @@
+ android.os.Process.myUid();
// Secure connection should be ignored
- ((HttpURLConnection) new URL("https://android.com/").openConnection()).getResponseCode();
+ ((HttpURLConnection) new URL("https://example.com/").openConnection()).getResponseCode();
// Give system enough time to finish logging
SystemClock.sleep(5000);