This commit is contained in:
iNPUTmice 2014-12-01 12:33:57 +01:00
parent 6a429d9939
commit 9dd445a507

View File

@ -60,11 +60,8 @@ public class KnownHostsAdapter extends ArrayAdapter<String> {
public KnownHostsAdapter(Context context, int viewResourceId, public KnownHostsAdapter(Context context, int viewResourceId,
List<String> mKnownHosts) { List<String> mKnownHosts) {
super(context, viewResourceId, mKnownHosts); super(context, viewResourceId, new ArrayList<String>());
domains = new ArrayList<String>(mKnownHosts.size()); domains = new ArrayList<String>(mKnownHosts);
for (String domain : mKnownHosts) {
domains.add(new String(domain));
}
} }
@Override @Override