mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-04 16:25:06 -05:00
fixed #728
This commit is contained in:
parent
6a429d9939
commit
9dd445a507
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user