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,
List<String> mKnownHosts) {
super(context, viewResourceId, mKnownHosts);
domains = new ArrayList<String>(mKnownHosts.size());
for (String domain : mKnownHosts) {
domains.add(new String(domain));
}
super(context, viewResourceId, new ArrayList<String>());
domains = new ArrayList<String>(mKnownHosts);
}
@Override