aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2011-10-25 01:21:57 +0200
committerSamuel Tardieu <sam@rfc1149.net>2011-10-25 01:22:14 +0200
commit570a23884b3b962dd513d5eefb97621359441513 (patch)
tree15a6eb5da160acbecb590bd5fcd3bf758e520ab3 /main
parent9b1d6f0bb7badaceb71a4b898b36bdc30ab48a00 (diff)
downloadcgeo-570a23884b3b962dd513d5eefb97621359441513.zip
cgeo-570a23884b3b962dd513d5eefb97621359441513.tar.gz
cgeo-570a23884b3b962dd513d5eefb97621359441513.tar.bz2
Close the details activity when interrupting a cache load
Without that, it stays on an empty page titled "Cache" as the data is missing.
Diffstat (limited to 'main')
-rw-r--r--main/src/cgeo/geocaching/cgeodetail.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/cgeodetail.java b/main/src/cgeo/geocaching/cgeodetail.java
index 0be24ef..b8920de 100644
--- a/main/src/cgeo/geocaching/cgeodetail.java
+++ b/main/src/cgeo/geocaching/cgeodetail.java
@@ -211,6 +211,12 @@ public class cgeodetail extends AbstractActivity {
+ "\n\n"
+ msg);
}
+
+ @Override
+ public void handleCancel(final Object extra) {
+ finish();
+ }
+
};
final Handler loadMapPreviewHandler = new Handler() {