diff options
Diffstat (limited to 'app')
4 files changed, 7 insertions, 12 deletions
diff --git a/app/src/main/java/org/connectbot/ConsoleActivity.java b/app/src/main/java/org/connectbot/ConsoleActivity.java index 5118e99..c801d13 100644 --- a/app/src/main/java/org/connectbot/ConsoleActivity.java +++ b/app/src/main/java/org/connectbot/ConsoleActivity.java @@ -27,7 +27,6 @@ import org.connectbot.service.TerminalKeyListener; import org.connectbot.service.TerminalManager; import org.connectbot.util.PreferenceConstants; -import android.annotation.TargetApi; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; @@ -54,19 +53,20 @@ import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuItem; +import android.view.MenuItem.OnMenuItemClickListener; import android.view.MotionEvent; import android.view.View; -import android.view.ViewConfiguration; -import android.view.Window; -import android.view.WindowManager; -import android.view.MenuItem.OnMenuItemClickListener; import android.view.View.OnClickListener; import android.view.View.OnKeyListener; import android.view.View.OnTouchListener; +import android.view.ViewConfiguration; +import android.view.Window; +import android.view.WindowManager; import android.view.animation.Animation; import android.view.animation.AnimationUtils; import android.view.inputmethod.InputMethodManager; import android.widget.AdapterView; +import android.widget.AdapterView.OnItemClickListener; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.EditText; @@ -76,8 +76,6 @@ import android.widget.RelativeLayout; import android.widget.TextView; import android.widget.Toast; import android.widget.ViewFlipper; -import android.widget.AdapterView.OnItemClickListener; - import de.mud.terminal.vt320; public class ConsoleActivity extends Activity { diff --git a/app/src/main/java/org/connectbot/TerminalView.java b/app/src/main/java/org/connectbot/TerminalView.java index 02683c2..1762141 100644 --- a/app/src/main/java/org/connectbot/TerminalView.java +++ b/app/src/main/java/org/connectbot/TerminalView.java @@ -26,7 +26,6 @@ import org.connectbot.service.FontSizeChangedListener; import org.connectbot.service.TerminalBridge; import org.connectbot.service.TerminalKeyListener; -import android.app.Activity; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; @@ -53,7 +52,7 @@ import de.mud.terminal.VDUBuffer; /** * User interface {@link View} for showing a TerminalBridge in an - * {@link Activity}. Handles drawing bitmap updates and passing keystrokes down + * {@link android.app.Activity}. Handles drawing bitmap updates and passing keystrokes down * to terminal. * * @author jsharkey diff --git a/app/src/main/java/org/connectbot/WizardActivity.java b/app/src/main/java/org/connectbot/WizardActivity.java index 35a60ca..b9ab66e 100644 --- a/app/src/main/java/org/connectbot/WizardActivity.java +++ b/app/src/main/java/org/connectbot/WizardActivity.java @@ -20,7 +20,6 @@ package org.connectbot; import org.connectbot.util.HelpTopicView; import android.app.Activity; -import android.content.Context; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; diff --git a/app/src/main/java/org/connectbot/service/TerminalKeyListener.java b/app/src/main/java/org/connectbot/service/TerminalKeyListener.java index 5ca6238..4764261 100644 --- a/app/src/main/java/org/connectbot/service/TerminalKeyListener.java +++ b/app/src/main/java/org/connectbot/service/TerminalKeyListener.java @@ -18,7 +18,6 @@ package org.connectbot.service; import java.io.IOException; -import org.connectbot.TerminalView; import org.connectbot.bean.SelectionArea; import org.connectbot.util.PreferenceConstants; @@ -126,7 +125,7 @@ public class TerminalKeyListener implements OnKeyListener, OnSharedPreferenceCha } /** - * Handle onKey() events coming down from a {@link TerminalView} above us. + * Handle onKey() events coming down from a {@link org.connectbot.TerminalView} above us. * Modify the keys to make more sense to a host then pass it to the transport. */ public boolean onKey(View v, int keyCode, KeyEvent event) { |