aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/maps/google/GoogleMapActivity.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-12-04 17:53:13 +0100
committerBananeweizen <bananeweizen@gmx.de>2012-12-04 17:53:13 +0100
commit472ecb9980b39b3a2945119d9a347e90d24e0443 (patch)
tree2e8f0be0c1979648a44bc79a7d4d5d5c61640710 /main/src/cgeo/geocaching/maps/google/GoogleMapActivity.java
parent927dd580bce4a96ea83c194c988bcf0b4b1e0400 (diff)
downloadcgeo-472ecb9980b39b3a2945119d9a347e90d24e0443.zip
cgeo-472ecb9980b39b3a2945119d9a347e90d24e0443.tar.gz
cgeo-472ecb9980b39b3a2945119d9a347e90d24e0443.tar.bz2
fix #2217: Click on filter bar crashes c:geo
Diffstat (limited to 'main/src/cgeo/geocaching/maps/google/GoogleMapActivity.java')
-rw-r--r--main/src/cgeo/geocaching/maps/google/GoogleMapActivity.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/maps/google/GoogleMapActivity.java b/main/src/cgeo/geocaching/maps/google/GoogleMapActivity.java
index 0377fe9..5649d19 100644
--- a/main/src/cgeo/geocaching/maps/google/GoogleMapActivity.java
+++ b/main/src/cgeo/geocaching/maps/google/GoogleMapActivity.java
@@ -1,5 +1,6 @@
package cgeo.geocaching.maps.google;
+import cgeo.geocaching.activity.FilteredActivity;
import cgeo.geocaching.maps.AbstractMap;
import cgeo.geocaching.maps.CGeoMap;
import cgeo.geocaching.maps.interfaces.MapActivityImpl;
@@ -12,7 +13,7 @@ import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
-public class GoogleMapActivity extends MapActivity implements MapActivityImpl {
+public class GoogleMapActivity extends MapActivity implements MapActivityImpl, FilteredActivity {
private AbstractMap mapBase;
@@ -127,4 +128,8 @@ public class GoogleMapActivity extends MapActivity implements MapActivityImpl {
mapBase.goManual(view);
}
+ @Override
+ public void showFilterMenu(View view) {
+ // do nothing, the filter bar only shows the global filter
+ }
}