diff --git a/app/src/main/java/eu/faircode/netguard/AccessAdapter.java b/app/src/main/java/eu/faircode/netguard/AccessAdapter.java index d9681bb6..07dd2072 100644 --- a/app/src/main/java/eu/faircode/netguard/AccessAdapter.java +++ b/app/src/main/java/eu/faircode/netguard/AccessAdapter.java @@ -114,25 +114,6 @@ public class AccessAdapter extends CursorAdapter { Util.getProtocolName(protocol, version, true) + " " + daddr + (dport > 0 ? "/" + dport : "")); - if (Util.isNumericAddress(daddr)) - new AsyncTask() { - @Override - protected String doInBackground(String... args) { - try { - return InetAddress.getByName(args[0]).getHostName(); - } catch (UnknownHostException ignored) { - return args[0]; - } - } - - @Override - protected void onPostExecute(String addr) { - tvDest.setText( - Util.getProtocolName(protocol, version, true) + - " " + addr + (dport > 0 ? "/" + dport : "")); - } - }.execute(daddr); - if (allowed < 0) tvDest.setTextColor(colorText); else if (allowed > 0)