<commit_before>package com.qlink.ar;

import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import java.util.Properties;

import org.apache.commons.lang.StringEscapeUtils;
import org.apache.http.NameValuePair;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org.apache.http.client.ResponseHandler;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.BasicResponseHandler;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.message.BasicNameValuePair;
import org.apache.http.params.BasicHttpParams;
import org.apache.http.params.HttpConnectionParams;
import org.apache.http.params.HttpParams;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager.NameNotFoundException;
import android.content.res.AssetManager;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.graphics.Typeface;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.os.Handler;
import android.os.StrictMode;
import android.preference.PreferenceManager;
import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBarActivity;
import android.text.Html;
import android.util.Base64;
import android.util.DisplayMetrics;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnLongClickListener;
import android.view.View.OnTouchListener;
import android.view.ViewGroup;
import android.view.Window;
import android.view.animation.AnimationUtils;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.LinearLayout.LayoutParams;
import android.widget.ProgressBar;
import android.widget.RelativeLayout;
import android.widget.ScrollView;
import android.widget.TextView;
import android.widget.Toast;

import com.qlink.ar.util.AesUtil;
import com.qlink.ar.util.AppUtil;
import com.qlink.ar.util.DNSResolver;
import com.qlink.ar.util.EscapeUtil;
import com.qlink.ar.util.FontChangeHelper;
import com.qlink.ar.util.LZW;

/**
 * MIT License
 * Copyright (c) 2016 <NAME>, <NAME>, <NAME>, <NAME>, <NAME>
 * https://opensource.org/licenses/MIT
 *
 * @author <NAME> <<EMAIL>>
 */
public class QlinkIntentActivity extends ActionBarActivity {

	int sdk = android.os.Build.VERSION.SDK_INT;
	private Boolean isInternetConnected = false;
	private Boolean isHostConnected = false;
	private List<String> decFiles = new ArrayList<String>();
	private JSONArray namesFiles = new JSONArray();
	private RelativeLayout progressDecrypting;
	private Typeface fontTypeFace;
	private Handler clockHandler2 = new Handler();
	private Handler clockHandler3 = new Handler();
	private Resources resources;
	private String imprint = null;
	private Boolean blurText = true;

	protected String host = "qlink";
	protected int port = 443;
	protected String protocol = "https";
	private String currentAppWebVersion = null;<commit_msg>Fix declaration<commit_after>package com.qlink.ar;

import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import java.util.Properties;

import org.apache.commons.lang.StringEscapeUtils;
import org.apache.http.NameValuePair;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org.apache.http.client.ResponseHandler;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.BasicResponseHandler;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.message.BasicNameValuePair;
import org.apache.http.params.BasicHttpParams;
import org.apache.http.params.HttpConnectionParams;
import org.apache.http.params.HttpParams;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager.NameNotFoundException;
import android.content.res.AssetManager;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.graphics.Typeface;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.os.Handler;
import android.os.StrictMode;
import android.preference.PreferenceManager;
import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBarActivity;
import android.text.Html;
import android.util.Base64;
import android.util.DisplayMetrics;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnLongClickListener;
import android.view.View.OnTouchListener;
import android.view.ViewGroup;
import android.view.Window;
import android.view.animation.AnimationUtils;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.LinearLayout.LayoutParams;
import android.widget.ProgressBar;
import android.widget.RelativeLayout;
import android.widget.ScrollView;
import android.widget.TextView;
import android.widget.Toast;

import com.qlink.ar.util.AesUtil;
import com.qlink.ar.util.AppUtil;
import com.qlink.ar.util.DNSResolver;
import com.qlink.ar.util.EscapeUtil;
import com.qlink.ar.util.FontChangeHelper;
import com.qlink.ar.util.LZW;

/**
 * MIT License
 * Copyright (c) 2016 <NAME>, <NAME>, <NAME>, <NAME>, <NAME>
 * https://opensource.org/licenses/MIT
 *
 * @author <NAME> <<EMAIL>>
 */
public class QlinkIntentActivity extends ActionBarActivity {

	int sdk = android.os.Build.VERSION.SDK_INT;
	private Boolean isInternetConnected = false;
	private Boolean isHostConnected = false;
	private List<String> decFiles = new ArrayList<String>();
	private JSONArray namesFiles = new JSONArray();
	private RelativeLayout progressDecrypting;
	private Typeface fontTypeFace;
	private Handler clockHandler2 = new Handler();
	private Handler clockHandler3 = new Handler();
	private Resources resources;
	private String imprint = null;
	private Boolean blurText = true;

	private String host = "qlink";
	private int port = 443;
	private String protocol = "https";
	private String currentAppWebVersion = null;
{'fraction_non_alphanumeric': 0.1019467213114754, 'fraction_numerical': 0.003329918032786885, 'mean_word_length': 6.325515947467167, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6189941', 'n_tokens_mistral': 2298, 'n_tokens_neox': 2244, 'n_words': 498}