diff options
author | Kenny Root <kenny@the-b.org> | 2011-07-01 02:15:30 -0700 |
---|---|---|
committer | Kenny Root <kenny@the-b.org> | 2011-07-01 02:15:30 -0700 |
commit | 8b65916149b099b7965a47802f6ebc2cdadd5d00 (patch) | |
tree | 8fafa519e729e446ce7f20538869460151ef34a7 | |
parent | 80e87918f6184ac949384bb3ccb6d3a15698e9a8 (diff) | |
download | connectbot-8b65916149b099b7965a47802f6ebc2cdadd5d00.tar.gz connectbot-8b65916149b099b7965a47802f6ebc2cdadd5d00.tar.bz2 connectbot-8b65916149b099b7965a47802f6ebc2cdadd5d00.zip |
Suppress warnings for ClipboardManager
-rw-r--r-- | AndroidManifest.xml | 2 | ||||
-rw-r--r-- | src/org/connectbot/service/TerminalKeyListener.java | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 88a1823..5d841bc 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -2,7 +2,7 @@ <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.connectbot" android:versionName="1.7.1" - android:versionCode="347" + android:versionCode="348" android:installLocation="auto"> <uses-sdk android:targetSdkVersion="11" android:minSdkVersion="3" /> diff --git a/src/org/connectbot/service/TerminalKeyListener.java b/src/org/connectbot/service/TerminalKeyListener.java index 4f0855c..5aa1754 100644 --- a/src/org/connectbot/service/TerminalKeyListener.java +++ b/src/org/connectbot/service/TerminalKeyListener.java @@ -39,6 +39,7 @@ import de.mud.terminal.vt320; * @author kenny * */ +@SuppressWarnings("deprecation") // for ClipboardManager public class TerminalKeyListener implements OnKeyListener, OnSharedPreferenceChangeListener { private static final String TAG = "ConnectBot.OnKeyListener"; @@ -77,7 +78,10 @@ public class TerminalKeyListener implements OnKeyListener, OnSharedPreferenceCha private int mDeadKey = 0; + // TODO add support for the new API. + @SuppressWarnings("deprecation") private ClipboardManager clipboard = null; + private boolean selectingForCopy = false; private final SelectionArea selectionArea; |