Setup: Not a component anymore

This commit is contained in:
zt515 2017-12-20 23:49:53 +08:00
parent d0bfc1a829
commit 779d715a7d
13 changed files with 24 additions and 43 deletions

View File

@ -1,4 +1,4 @@
package io.neoterm.component.setup;
package io.neoterm.setup;
/**
* @author kiva

View File

@ -1,29 +1,14 @@
package io.neoterm.component.setup;
package io.neoterm.setup;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Context;
import android.os.Build;
import android.system.Os;
import android.util.Pair;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
import io.neoterm.R;
import io.neoterm.backend.EmulatorDebug;
import io.neoterm.frontend.logging.NLog;
import io.neoterm.frontend.config.NeoPreference;
import io.neoterm.frontend.config.NeoTermPath;
/**

View File

@ -1,4 +1,4 @@
package io.neoterm.component.setup;
package io.neoterm.setup;
import android.app.Activity;
import android.app.ProgressDialog;

View File

@ -1,4 +1,4 @@
package io.neoterm.component.setup;
package io.neoterm.setup;
import java.io.IOException;
import java.io.InputStream;

View File

@ -1,10 +1,10 @@
package io.neoterm.component.setup.connection;
package io.neoterm.setup.connection;
import java.io.IOException;
import java.io.InputStream;
import io.neoterm.App;
import io.neoterm.component.setup.SetupHelper;
import io.neoterm.setup.SetupHelper;
import io.neoterm.utils.AssetsUtils;
/**

View File

@ -1,4 +1,4 @@
package io.neoterm.component.setup.connection;
package io.neoterm.setup.connection;
import android.content.Context;
import android.net.Uri;

View File

@ -1,4 +1,4 @@
package io.neoterm.component.setup.connection;
package io.neoterm.setup.connection;
import android.content.Context;
import android.net.Uri;

View File

@ -1,12 +1,12 @@
package io.neoterm.component.setup.connection;
package io.neoterm.setup.connection;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import io.neoterm.component.setup.SetupHelper;
import io.neoterm.component.setup.SourceConnection;
import io.neoterm.setup.SetupHelper;
import io.neoterm.setup.SourceConnection;
/**
* @author kiva

View File

@ -1,12 +1,9 @@
package io.neoterm.component.setup.connection;
package io.neoterm.setup.connection;
import java.io.IOException;
import java.io.InputStream;
import io.neoterm.App;
import io.neoterm.component.setup.SetupHelper;
import io.neoterm.component.setup.SourceConnection;
import io.neoterm.utils.AssetsUtils;
import io.neoterm.setup.SourceConnection;
/**
* @author kiva

View File

@ -1,4 +1,4 @@
package io.neoterm.component.setup.connection;
package io.neoterm.setup.connection;
import android.content.Context;
import android.net.Uri;

View File

@ -1,4 +1,4 @@
package io.neoterm.component.setup.helper;
package io.neoterm.setup.helper;
import android.content.Context;
@ -6,7 +6,6 @@ import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import io.neoterm.utils.NetworkUtils;

View File

@ -9,14 +9,14 @@ import android.view.View
import android.widget.*
import io.neoterm.App
import io.neoterm.R
import io.neoterm.component.setup.ResultListener
import io.neoterm.component.setup.SetupHelper
import io.neoterm.component.setup.SourceConnection
import io.neoterm.component.setup.connection.AssetsFileConnection
import io.neoterm.component.setup.connection.BackupFileConnection
import io.neoterm.component.setup.connection.LocalFileConnection
import io.neoterm.component.setup.connection.NetworkConnection
import io.neoterm.component.setup.helper.URLAvailability
import io.neoterm.setup.ResultListener
import io.neoterm.setup.SetupHelper
import io.neoterm.setup.SourceConnection
import io.neoterm.setup.connection.AssetsFileConnection
import io.neoterm.setup.connection.BackupFileConnection
import io.neoterm.setup.connection.LocalFileConnection
import io.neoterm.setup.connection.NetworkConnection
import io.neoterm.setup.helper.URLAvailability
import io.neoterm.frontend.config.NeoTermPath
import io.neoterm.utils.MediaUtils
import io.neoterm.utils.PackageUtils

View File

@ -20,7 +20,7 @@ import de.mrapp.android.tabswitcher.*
import io.neoterm.App
import io.neoterm.R
import io.neoterm.backend.TerminalSession
import io.neoterm.component.setup.SetupHelper
import io.neoterm.setup.SetupHelper
import io.neoterm.frontend.session.shell.client.TermSessionCallback
import io.neoterm.frontend.session.shell.client.TermViewClient
import io.neoterm.frontend.session.shell.client.event.*