Fixed server icons flickering.

This commit is contained in:
Felix Ableitner 2013-12-17 16:16:59 +01:00
parent e94991c85a
commit 82bb045911

View file

@ -138,16 +138,6 @@ public class DeviceArrayAdapter extends ArrayAdapter<Device<?, ?, ?>>
}); });
} }
private void deviceUpdated(Device<?, ?, ?> device) {
mActivity.runOnUiThread(new Runnable() {
@Override
public void run() {
notifyDataSetChanged();
}
});
}
@Override @Override
public void beforeShutdown(Registry registry) { public void beforeShutdown(Registry registry) {
} }
@ -184,7 +174,6 @@ public class DeviceArrayAdapter extends ArrayAdapter<Device<?, ?, ?>>
@Override @Override
public void remoteDeviceUpdated(Registry registry, RemoteDevice device) { public void remoteDeviceUpdated(Registry registry, RemoteDevice device) {
deviceUpdated(device);
} }
@Override @Override