diff options
| author | koem <koem@petoria.de> | 2013-07-15 09:55:08 +0200 |
|---|---|---|
| committer | koem <koem@petoria.de> | 2013-07-16 20:09:31 +0200 |
| commit | 5e67bd977c076eeb9fc94f903801616cd3d56adb (patch) | |
| tree | 06b7ceaf1187abecd3ca416b1055f139514c9400 /main/src/cgeo/geocaching/utils/GeoDirHandler.java | |
| parent | 141c5696becd8a63d25132f1b5b139fbc6a3c179 (diff) | |
| download | cgeo-5e67bd977c076eeb9fc94f903801616cd3d56adb.zip cgeo-5e67bd977c076eeb9fc94f903801616cd3d56adb.tar.gz cgeo-5e67bd977c076eeb9fc94f903801616cd3d56adb.tar.bz2 | |
Fixes #2717 - Compass Speech stops on Rotation
Diffstat (limited to 'main/src/cgeo/geocaching/utils/GeoDirHandler.java')
| -rw-r--r-- | main/src/cgeo/geocaching/utils/GeoDirHandler.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/utils/GeoDirHandler.java b/main/src/cgeo/geocaching/utils/GeoDirHandler.java index 98a2287..14e6426 100644 --- a/main/src/cgeo/geocaching/utils/GeoDirHandler.java +++ b/main/src/cgeo/geocaching/utils/GeoDirHandler.java @@ -1,8 +1,8 @@ package cgeo.geocaching.utils; import cgeo.geocaching.IGeoData; -import cgeo.geocaching.settings.Settings; import cgeo.geocaching.cgeoapplication; +import cgeo.geocaching.settings.Settings; import android.os.Handler; import android.os.Message; @@ -63,6 +63,11 @@ public abstract class GeoDirHandler extends Handler implements IObserver<Object> obtainMessage(OBSERVABLE, o).sendToTarget(); } + public void updateAll() { + update(app.currentGeo()); + update(app.currentDirection()); + } + /** * Update method called when new IGeoData is available. * |
