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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user