diff options
| author | Arne Schwabe <arne@rfc2549.org> | 2014-04-24 20:08:52 +0200 |
|---|---|---|
| committer | Arne Schwabe <arne@rfc2549.org> | 2014-05-18 21:56:43 +0200 |
| commit | a0825983139c99a9799503cafdf0dd0e3ce54a2f (patch) | |
| tree | b018b9f0c42add75593656f90648a319aa98a8db /main/src/cgeo/geocaching/utils/LogTemplateProvider.java | |
| parent | 916992dc8398db364927a50a8ceb46f3053fce96 (diff) | |
| download | cgeo-a0825983139c99a9799503cafdf0dd0e3ce54a2f.zip cgeo-a0825983139c99a9799503cafdf0dd0e3ce54a2f.tar.gz cgeo-a0825983139c99a9799503cafdf0dd0e3ce54a2f.tar.bz2 | |
Implement Android Beam (NFC Sharing) for cgeo
To support direct opening of CGEO on the other device, introduce a distinction between getBrowserURL and getCgeoURL in providers.
Diffstat (limited to 'main/src/cgeo/geocaching/utils/LogTemplateProvider.java')
| -rw-r--r-- | main/src/cgeo/geocaching/utils/LogTemplateProvider.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/utils/LogTemplateProvider.java b/main/src/cgeo/geocaching/utils/LogTemplateProvider.java index 5fa0982..04433c3 100644 --- a/main/src/cgeo/geocaching/utils/LogTemplateProvider.java +++ b/main/src/cgeo/geocaching/utils/LogTemplateProvider.java @@ -202,11 +202,11 @@ public final class LogTemplateProvider { public String getValue(LogContext context) { Trackable trackable = context.getTrackable(); if (trackable != null) { - return trackable.getUrl(); + return trackable.getBrowserUrl(); } Geocache cache = context.getCache(); if (cache != null) { - return cache.getUrl(); + return cache.getBrowserUrl(); } return StringUtils.EMPTY; } |
