diff options
Diffstat (limited to 'main/src/cgeo/geocaching/apps')
-rw-r--r-- | main/src/cgeo/geocaching/apps/AbstractApp.java | 3 |
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 1161a05..f79afe0 100644 --- a/main/src/cgeo/geocaching/apps/AbstractApp.java +++ b/main/src/cgeo/geocaching/apps/AbstractApp.java @@ -33,8 +33,7 @@ public abstract class AbstractApp implements App { try { // This can throw an exception where the exception type is only defined on API Level > 3 // therefore surround with try-catch - final Intent intent = packageManager.getLaunchIntentForPackage(packageName); - return intent; + return packageManager.getLaunchIntentForPackage(packageName); } catch (Exception e) { return null; } |