Skip to content

Commit

Permalink
Clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Dec 3, 2024
1 parent e8089b8 commit 14b80a1
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions app/src/main/java/com/nltechno/dolidroidpro/SecondActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import java.net.URL;
import java.net.URLDecoder;
import java.nio.charset.StandardCharsets;
import java.security.KeyStore;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
Expand All @@ -37,20 +36,9 @@

// This are classes found with the useLibrary 'org.apache.http.legacy' in the build.gradle file.
import org.apache.http.HttpResponse;
import org.apache.http.HttpVersion;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.conn.ClientConnectionManager;
import org.apache.http.conn.scheme.PlainSocketFactory;
import org.apache.http.conn.scheme.Scheme;
import org.apache.http.conn.scheme.SchemeRegistry;
import org.apache.http.conn.scheme.SocketFactory;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager;
import org.apache.http.params.BasicHttpParams;
import org.apache.http.params.HttpProtocolParams;
import org.apache.http.protocol.HTTP;
import org.apache.http.params.HttpParams;

//import com.nltechno.utils.MySSLSocketFactory;
import com.nltechno.utils.Utils;
Expand Down Expand Up @@ -99,7 +87,6 @@
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
//import android.webkit.CookieSyncManager;
import android.webkit.WebViewDatabase;
import android.widget.ProgressBar;
import android.widget.Toast;
Expand Down Expand Up @@ -2457,8 +2444,8 @@ else if (tagToShowMessage.length() > 0 && tagToShowCounter > 0) // tagToShowCoun
} else {
Log.d(LOG_TAG, "onPageFinished We don't save form fields (prefAlwaysAutoFill is false).");
}
tagToOverwriteLoginPass=prefAlwaysAutoFill;
tagToOverwriteLoginPass = prefAlwaysAutoFill;

// Clear webview history
Log.d(LOG_TAG,"onPageFinished We clear history to removes the login page history entry");

Expand Down

0 comments on commit 14b80a1

Please sign in to comment.