aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/apps/cache/navi/GoogleNavigationApp.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2013-09-30 21:00:23 +0200
committerBananeweizen <bananeweizen@gmx.de>2013-09-30 21:00:23 +0200
commita79bd0ae7e43fa445e3b977750712376a28310a8 (patch)
tree28200f369a124ce81f91f27bd476e25f92ef0c97 /main/src/cgeo/geocaching/apps/cache/navi/GoogleNavigationApp.java
parentca310f54024439ddcfe07419f9376564522ae969 (diff)
downloadcgeo-a79bd0ae7e43fa445e3b977750712376a28310a8.zip
cgeo-a79bd0ae7e43fa445e3b977750712376a28310a8.tar.gz
cgeo-a79bd0ae7e43fa445e3b977750712376a28310a8.tar.bz2
#2210: convert cache list menus to resource
Diffstat (limited to 'main/src/cgeo/geocaching/apps/cache/navi/GoogleNavigationApp.java')
-rw-r--r--main/src/cgeo/geocaching/apps/cache/navi/GoogleNavigationApp.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/src/cgeo/geocaching/apps/cache/navi/GoogleNavigationApp.java b/main/src/cgeo/geocaching/apps/cache/navi/GoogleNavigationApp.java
index a3532a5..902eebf 100644
--- a/main/src/cgeo/geocaching/apps/cache/navi/GoogleNavigationApp.java
+++ b/main/src/cgeo/geocaching/apps/cache/navi/GoogleNavigationApp.java
@@ -12,8 +12,8 @@ abstract class GoogleNavigationApp extends AbstractPointNavigationApp {
private final String mode;
- protected GoogleNavigationApp(final int nameResourceId, final String mode) {
- super(getString(nameResourceId), null);
+ protected GoogleNavigationApp(final int nameResourceId, final int id, final String mode) {
+ super(getString(nameResourceId), id, null);
this.mode = mode;
}
@@ -36,19 +36,19 @@ abstract class GoogleNavigationApp extends AbstractPointNavigationApp {
static class GoogleNavigationWalkingApp extends GoogleNavigationApp {
GoogleNavigationWalkingApp() {
- super(R.string.cache_menu_navigation_walk, "w");
+ super(R.string.cache_menu_navigation_walk, R.id.cache_app_google_navigation_walk, "w");
}
}
static class GoogleNavigationDrivingApp extends GoogleNavigationApp {
GoogleNavigationDrivingApp() {
- super(R.string.cache_menu_navigation_drive, "d");
+ super(R.string.cache_menu_navigation_drive, R.id.cache_app_google_navigation_drive, "d");
}
}
static class GoogleNavigationBikeApp extends GoogleNavigationApp {
GoogleNavigationBikeApp() {
- super(R.string.cache_menu_navigation_bike, "b");
+ super(R.string.cache_menu_navigation_bike, R.id.cache_app_google_navigation_bike, "b");
}
}
} \ No newline at end of file