aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/apps/cache/GccApp.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2014-05-27 20:00:42 +0200
committerBananeweizen <bananeweizen@gmx.de>2014-05-27 20:00:42 +0200
commit00e325f8f9022a191d288196daeb28dafbcbc6ef (patch)
tree18fcabfeb54f279c3ee2e9bd5604d762ba6e6f6c /main/src/cgeo/geocaching/apps/cache/GccApp.java
parentceaa74e168133eeaa2fcd6c617b51f7eafe50b4a (diff)
downloadcgeo-00e325f8f9022a191d288196daeb28dafbcbc6ef.zip
cgeo-00e325f8f9022a191d288196daeb28dafbcbc6ef.tar.gz
cgeo-00e325f8f9022a191d288196daeb28dafbcbc6ef.tar.bz2
fix #3918: remove GCC from navigation
Diffstat (limited to 'main/src/cgeo/geocaching/apps/cache/GccApp.java')
-rw-r--r--main/src/cgeo/geocaching/apps/cache/GccApp.java28
1 files changed, 0 insertions, 28 deletions
diff --git a/main/src/cgeo/geocaching/apps/cache/GccApp.java b/main/src/cgeo/geocaching/apps/cache/GccApp.java
deleted file mode 100644
index 4423977..0000000
--- a/main/src/cgeo/geocaching/apps/cache/GccApp.java
+++ /dev/null
@@ -1,28 +0,0 @@
-package cgeo.geocaching.apps.cache;
-
-import cgeo.geocaching.R;
-import cgeo.geocaching.utils.ProcessUtils;
-
-import android.content.Intent;
-
-public class GccApp extends AbstractGeneralApp {
- private static final String PACKAGE = "eisbehr.gcc";
- private static final String PACKAGE_PRO = "eisbehr.gcc.pro";
-
- public GccApp() {
- super(getString(R.string.cache_menu_gcc), R.id.cache_app_gcc, null);
- }
-
- @Override
- public boolean isInstalled() {
- return ProcessUtils.isLaunchable(PACKAGE) || ProcessUtils.isLaunchable(PACKAGE_PRO);
- }
-
- @Override
- protected Intent getLaunchIntent() {
- if (ProcessUtils.isLaunchable(PACKAGE_PRO)) {
- return ProcessUtils.getLaunchIntent(PACKAGE_PRO);
- }
- return ProcessUtils.getLaunchIntent(PACKAGE);
- }
-}