diff options
author | iNPUTmice <daniel@gultsch.de> | 2015-02-17 14:18:35 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2015-02-17 14:18:35 +0100 |
commit | a8ec36cda816e37fae5abf4a5947872cbe834fdc (patch) | |
tree | 5f6926dd60294e3304f39739b28f4c8382ee8947 /src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java | |
parent | 67d5ee6b71d036206df03ec09f6188f2fe2f5918 (diff) |
limit ui refresh rate
Diffstat (limited to 'src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java b/src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java index 6a8ee0245..e4bfd6ff3 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java @@ -144,24 +144,17 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers @Override public void onConversationUpdate() { - runOnUiThread(new Runnable() { - - @Override - public void run() { - updateView(); - } - }); + refreshUi(); } @Override public void onMucRosterUpdate() { - runOnUiThread(new Runnable() { + refreshUi(); + } - @Override - public void run() { - updateView(); - } - }); + @Override + protected void refreshUiReal() { + updateView(); } @Override |