aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Keppler <bananeweizen@gmx.de>2013-12-25 18:25:51 +0100
committerMichael Keppler <bananeweizen@gmx.de>2013-12-25 18:25:51 +0100
commit70b46351fe51e68df1efbf2f089b02fc49cd2dbb (patch)
tree2d1077cb084ea085551c21d347971ce6e5234808
parent2ddd0beeda29600a25f858fd16598632745f3144 (diff)
downloadcgeo-70b46351fe51e68df1efbf2f089b02fc49cd2dbb.zip
cgeo-70b46351fe51e68df1efbf2f089b02fc49cd2dbb.tar.gz
cgeo-70b46351fe51e68df1efbf2f089b02fc49cd2dbb.tar.bz2
fix #3479: IllegalStateExceptions due to wrong waiting
-rw-r--r--main/src/cgeo/geocaching/MainActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/MainActivity.java b/main/src/cgeo/geocaching/MainActivity.java
index af62430..d96b97c 100644
--- a/main/src/cgeo/geocaching/MainActivity.java
+++ b/main/src/cgeo/geocaching/MainActivity.java
@@ -656,7 +656,7 @@ public class MainActivity extends AbstractActivity {
int checks = 0;
while (!DataStore.isInitialized()) {
try {
- wait(500);
+ sleep(500);
checks++;
} catch (Exception e) {
Log.e("MainActivity.CountBubbleUpdateThread.run", e);