Fixed server icons flickering.
This commit is contained in:
parent
e94991c85a
commit
82bb045911
1 changed files with 0 additions and 11 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue