Changed network check URL.

It cannot use google.com because it's blocked in some countries where
CTS tests are run.

BUG: 29082308

Change-Id: I749659ec2cd33248fddbe5b4ab02bd6e90f24a67
This commit is contained in:
Felipe Leme
2016-06-06 09:02:09 -07:00
parent b9b85ce0cd
commit 829443c140

View File

@@ -174,7 +174,7 @@ public class MyBroadcastReceiver extends BroadcastReceiver {
@Override
public void run() {
// TODO: connect to a hostside server instead
final String address = "http://google.com";
final String address = "http://example.com";
final NetworkInfo networkInfo = cm.getActiveNetworkInfo();
Log.d(TAG, "Running checkNetworkStatus() on thread "
+ Thread.currentThread().getName() + " for UID " + getUid(context)