diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2012-05-15 09:15:30 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2012-05-15 09:15:30 +0200 |
| commit | 4b34c8549ef406c26a5b26a493e4331e57cc2b83 (patch) | |
| tree | 8eee57c96aebd3ad22bcfe548928fc3ea04aac55 /main/src/cgeo/geocaching/utils/GeoDirHandler.java | |
| parent | d29085d093a35ff5f08ef9415ea7d6a846f17c68 (diff) | |
| download | cgeo-4b34c8549ef406c26a5b26a493e4331e57cc2b83.zip cgeo-4b34c8549ef406c26a5b26a493e4331e57cc2b83.tar.gz cgeo-4b34c8549ef406c26a5b26a493e4331e57cc2b83.tar.bz2 | |
Fix #1574: location was sent with the wrong "what" information
A last-minute reorganization not caught by the test suite while fixing
issue #1556 led to this bug.
Diffstat (limited to 'main/src/cgeo/geocaching/utils/GeoDirHandler.java')
| -rw-r--r-- | main/src/cgeo/geocaching/utils/GeoDirHandler.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/main/src/cgeo/geocaching/utils/GeoDirHandler.java b/main/src/cgeo/geocaching/utils/GeoDirHandler.java index 2700348..21b2562 100644 --- a/main/src/cgeo/geocaching/utils/GeoDirHandler.java +++ b/main/src/cgeo/geocaching/utils/GeoDirHandler.java @@ -1,12 +1,11 @@ package cgeo.geocaching.utils; -import android.os.Handler; -import android.os.Message; - import cgeo.geocaching.IGeoData; import cgeo.geocaching.Settings; import cgeo.geocaching.cgeoapplication; -import cgeo.geocaching.utils.IObserver; + +import android.os.Handler; +import android.os.Message; /** * GeoData and Direction handler. Manipulating geodata and direction information @@ -52,7 +51,7 @@ public class GeoDirHandler extends Handler implements IObserver<Object> { @Override final public void update(final Object o) { - obtainMessage(0, o).sendToTarget(); + obtainMessage(OBSERVABLE, o).sendToTarget(); } /** |
