changeset 197:e762997c3911

read deployment.connections on startup for global preferences also
author Carl Byington <carl@five-ten-sg.com>
date Wed, 02 Jul 2014 18:34:49 -0700
parents 66570e219430
children a9fb5061cca3
files src/com/five_ten_sg/connectbot/HostListActivity.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/HostListActivity.java	Wed Jul 02 18:13:57 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/HostListActivity.java	Wed Jul 02 18:34:49 2014 -0700
@@ -413,7 +413,7 @@
                     String [] parts = line.split("=");
                     if (parts.length != 2) continue;
                     if (values == null) values = new ContentValues();
-                    values.put(parts[0], parts[1]);
+                    values.put(parts[0].trim(), parts[1].trim());
                 }
                 if (uri.getScheme().equals("global")) {
                     SharedPreferences.Editor editor = prefs.edit();