aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgeocaches.java
diff options
context:
space:
mode:
authorMarco Jacob <mjacob@union06.de>2013-07-18 05:49:37 +0200
committerMarco Jacob <mjacob@union06.de>2013-07-18 05:49:37 +0200
commit2122a9eb046c56d45aacfcbb804ad61269c5c9f4 (patch)
tree777ec585355f6a9aec98052d261d597bf906b53c /main/src/cgeo/geocaching/cgeocaches.java
parent8af7e6965a46ef46c628c164262b044fb271d263 (diff)
downloadcgeo-2122a9eb046c56d45aacfcbb804ad61269c5c9f4.zip
cgeo-2122a9eb046c56d45aacfcbb804ad61269c5c9f4.tar.gz
cgeo-2122a9eb046c56d45aacfcbb804ad61269c5c9f4.tar.bz2
Fixes #2931 - make Handler static to solve lint
Diffstat (limited to 'main/src/cgeo/geocaching/cgeocaches.java')
-rw-r--r--main/src/cgeo/geocaching/cgeocaches.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/main/src/cgeo/geocaching/cgeocaches.java b/main/src/cgeo/geocaching/cgeocaches.java
index e388078..5d7841d 100644
--- a/main/src/cgeo/geocaching/cgeocaches.java
+++ b/main/src/cgeo/geocaching/cgeocaches.java
@@ -907,10 +907,7 @@ public class cgeocaches extends AbstractListActivity implements FilteredActivity
NavigationAppFactory.showNavigationMenu(this, cache, null, null);
break;
case MENU_CACHE_DETAILS:
- final Intent cachesIntent = new Intent(this, CacheDetailActivity.class);
- cachesIntent.putExtra(Intents.EXTRA_GEOCODE, cache.getGeocode());
- cachesIntent.putExtra(Intents.EXTRA_NAME, cache.getName());
- startActivity(cachesIntent);
+ CacheDetailActivity.startActivity(this, cache.getGeocode(), cache.getName());
break;
case MENU_DROP_CACHE:
cache.drop(new Handler() {