Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2013-09-10 16:47:45 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:01:05 +0300
commit2ce27305b7a6fd8c3cee12a42859062a38fc553a (patch)
treeb7437e7bbcdbc66a253f998eb3178a312ed2daee /android/src/com/mapswithme/maps/MWMApplication.java
parent467c228167af0ff4a9a4cd3be37c3b3c6b95af83 (diff)
[android] Fixed checking pro version.
Diffstat (limited to 'android/src/com/mapswithme/maps/MWMApplication.java')
-rw-r--r--android/src/com/mapswithme/maps/MWMApplication.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/src/com/mapswithme/maps/MWMApplication.java b/android/src/com/mapswithme/maps/MWMApplication.java
index 388342275e..1c56744742 100644
--- a/android/src/com/mapswithme/maps/MWMApplication.java
+++ b/android/src/com/mapswithme/maps/MWMApplication.java
@@ -107,7 +107,7 @@ public class MWMApplication extends android.app.Application implements MapStorag
{
super.onCreate();
- m_isProVersion = getPackageName().endsWith(".pro");
+ m_isProVersion = getPackageName().contains(".pro");
// http://stackoverflow.com/questions/1440957/httpurlconnection-getresponsecode-returns-1-on-second-invocation
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.ECLAIR_MR1)