Fix Enter to finish session in more cases

Detect the Enter key to finish a session not only on KeyEvent:s,
but also when the IME uses InputConnection.commitText() to send
\n. This seems to be triggered more after switching to the Uri
input type. Closes #124

Also bump app version for a quick release.
This commit is contained in:
Fredrik Fornwall
2016-08-01 06:37:49 +02:00
parent eaeb0930f4
commit a73228b109
2 changed files with 29 additions and 18 deletions

View File

@@ -13,8 +13,8 @@ android {
applicationId "com.termux"
minSdkVersion 21
targetSdkVersion 24
versionCode 36
versionName "0.35"
versionCode 37
versionName "0.37"
ndk {
moduleName "libtermux"