Commit 13897928 authored by Michael Enoma's avatar Michael Enoma 👽
Browse files

E Login and Web Login

parent 1242f168
Pipeline #156069 failed with stage
in 2 minutes and 15 seconds
......@@ -4,9 +4,11 @@ import android.accounts.AccountManager;
import android.accounts.NetworkErrorException;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.webkit.WebView;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
......@@ -23,6 +25,7 @@ import com.nextcloud.android.sso.helper.SingleAccountHelper;
import com.nextcloud.android.sso.ui.UiExceptionManager;
import java.net.HttpURLConnection;
import java.util.Locale;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
......@@ -46,6 +49,11 @@ public class ImportAccountActivity extends AppCompatActivity {
private final static String login_account_manual = "login_account_manual";
public final static String eelo_account_type = "e.foundation.webdav.eelo";
private WebView webView;
private boolean first_run = false;
private boolean useWebLogin = true;
private final static int pick_account_request_code = 1;
private AccountManager accountManager;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment