comparison src/com/five_ten_sg/connectbot/HostListActivity.java @ 201:621732df242e

read deployment.connections on startup for global preferences also
author Carl Byington <carl@five-ten-sg.com>
date Wed, 02 Jul 2014 21:06:28 -0700
parents 6cc9a9e622bc
children b16288cbad37
comparison
equal deleted inserted replaced
200:6cc9a9e622bc 201:621732df242e
456 types.put("upload_dest_prompt", "boolean"); 456 types.put("upload_dest_prompt", "boolean");
457 types.put("background_file_transfer", "boolean"); 457 types.put("background_file_transfer", "boolean");
458 types.put("debug_keycodes", "boolean"); 458 types.put("debug_keycodes", "boolean");
459 for (String key : values.keySet()) { 459 for (String key : values.keySet()) {
460 if (types.containsKey(key)) { 460 if (types.containsKey(key)) {
461 char stype = types.get(key).charAt(0); 461 //char stype = types.get(key).charAt(0);
462 char stype = 's';
462 switch (stype) { 463 switch (stype) {
463 case 'b': 464 case 'b':
464 boolean bx = prefs.getBoolean(key, true); 465 boolean bx = prefs.getBoolean(key, true);
465 boolean bv = values.getAsBoolean(key); 466 boolean bv = values.getAsBoolean(key);
466 editor.putBoolean(key, bv); 467 editor.putBoolean(key, bv);