From 82bb045911700b633789300838e4e09e8bc80263 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Tue, 17 Dec 2013 16:16:59 +0100 Subject: [PATCH] Fixed server icons flickering. --- .../controldlna/utility/DeviceArrayAdapter.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/com/github/nutomic/controldlna/utility/DeviceArrayAdapter.java b/src/com/github/nutomic/controldlna/utility/DeviceArrayAdapter.java index 41e5c9d..bfe1fa4 100644 --- a/src/com/github/nutomic/controldlna/utility/DeviceArrayAdapter.java +++ b/src/com/github/nutomic/controldlna/utility/DeviceArrayAdapter.java @@ -138,16 +138,6 @@ public class DeviceArrayAdapter extends ArrayAdapter> }); } - private void deviceUpdated(Device device) { - mActivity.runOnUiThread(new Runnable() { - - @Override - public void run() { - notifyDataSetChanged(); - } - }); - } - @Override public void beforeShutdown(Registry registry) { } @@ -184,7 +174,6 @@ public class DeviceArrayAdapter extends ArrayAdapter> @Override public void remoteDeviceUpdated(Registry registry, RemoteDevice device) { - deviceUpdated(device); } @Override