diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2014-05-27 20:00:42 +0200 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2014-05-27 20:00:42 +0200 |
commit | 00e325f8f9022a191d288196daeb28dafbcbc6ef (patch) | |
tree | 18fcabfeb54f279c3ee2e9bd5604d762ba6e6f6c /main/src/cgeo/geocaching/apps/cache/GccApp.java | |
parent | ceaa74e168133eeaa2fcd6c617b51f7eafe50b4a (diff) | |
download | cgeo-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.java | 28 |
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); - } -} |