Android: Moved a static method from ConnectivityChangeReceiver to NetworkUtil.