OSDN Git Service

Revert default behavior of "Back Key" to exiting application.
authorJack Palevich <jackpal@google.com>
Tue, 22 Nov 2011 10:41:40 +0000 (02:41 -0800)
committerJack Palevich <jackpal@google.com>
Tue, 22 Nov 2011 10:41:40 +0000 (02:41 -0800)
Users were confused by having the default be "ESC". Better to keep
the default "exit the app", and let people manually change it.

src/jackpal/androidterm/util/TermSettings.java

index 8caf355..6b83103 100644 (file)
@@ -36,7 +36,7 @@ public class TermSettings {
     private String mShell;
     private String mInitialCommand;
     private boolean mUTF8ByDefault = false;
-    private int mBackKeyAction = BACK_KEY_SENDS_ESC;
+    private int mBackKeyAction = BACK_KEY_STOPS_SERVICE;
     private String mTermType;
     private boolean mCloseOnExit = true;