1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-11-24 13:22:08 +01:00

synchronized updateLog()

This commit is contained in:
vanitasvitae 2016-11-02 20:03:18 +01:00
parent e320cce188
commit 2067b7cfce
Signed by: vanitasvitae
GPG key ID: DCCFB3302C9E4615

View file

@ -464,6 +464,10 @@ public class AboutActivity extends ThemedActivity
@Override @Override
public void update(Observable observable, Object o) { public void update(Observable observable, Object o) {
updateLog();
}
private synchronized void updateLog() {
if (isAdded() && logBox != null) { if (isAdded() && logBox != null) {
getActivity().runOnUiThread(new Runnable() { getActivity().runOnUiThread(new Runnable() {
@Override @Override