mirror of
https://github.com/gsantner/dandelion
synced 2024-11-24 13:22:08 +01:00
synchronized updateLog()
This commit is contained in:
parent
e320cce188
commit
2067b7cfce
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue