aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/apps
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2013-07-21 15:22:34 +0200
committerBananeweizen <bananeweizen@gmx.de>2013-07-21 15:22:34 +0200
commit2fd63f0d3ddc3e367aff18cca3d6a362710f9b11 (patch)
tree4ae435e56f5f4e7fafe1b8d046a3186416893f36 /main/src/cgeo/geocaching/apps
parente7d10a127b677b082b9bfcf468016f57295dbe9f (diff)
downloadcgeo-2fd63f0d3ddc3e367aff18cca3d6a362710f9b11.zip
cgeo-2fd63f0d3ddc3e367aff18cca3d6a362710f9b11.tar.gz
cgeo-2fd63f0d3ddc3e367aff18cca3d6a362710f9b11.tar.bz2
refactoring: move intent based check to ProcessUtils
Diffstat (limited to 'main/src/cgeo/geocaching/apps')
-rw-r--r--main/src/cgeo/geocaching/apps/AbstractApp.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/apps/AbstractApp.java b/main/src/cgeo/geocaching/apps/AbstractApp.java
index 4d7abde..7b6b3d9 100644
--- a/main/src/cgeo/geocaching/apps/AbstractApp.java
+++ b/main/src/cgeo/geocaching/apps/AbstractApp.java
@@ -1,7 +1,6 @@
package cgeo.geocaching.apps;
import cgeo.geocaching.Geocache;
-import cgeo.geocaching.MainActivity;
import cgeo.geocaching.cgeoapplication;
import cgeo.geocaching.utils.ProcessUtils;
@@ -31,7 +30,7 @@ public abstract class AbstractApp implements App {
if (StringUtils.isNotEmpty(packageName) && ProcessUtils.isLaunchable(packageName)) {
return true;
}
- return MainActivity.isIntentAvailable(intent);
+ return ProcessUtils.isIntentAvailable(intent);
}
protected Intent getLaunchIntent() {