From 91f7d82a7fda199774d5480a5791415c2856b35a Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 25 Jan 2015 09:27:11 +0100 Subject: [PATCH] use this --- .../osmand/plus/development/SettingsDevelopmentActivity.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/development/SettingsDevelopmentActivity.java b/OsmAnd/src/net/osmand/plus/development/SettingsDevelopmentActivity.java index 56996b646b..5d5b1b507b 100644 --- a/OsmAnd/src/net/osmand/plus/development/SettingsDevelopmentActivity.java +++ b/OsmAnd/src/net/osmand/plus/development/SettingsDevelopmentActivity.java @@ -77,9 +77,8 @@ public class SettingsDevelopmentActivity extends SettingsBaseActivity { pref.setKey("version"); pref.setOnPreferenceClickListener(new OnPreferenceClickListener() { @Override - final Intent mapIntent = new Intent(SettingsDevelopmentActivity.this, ContributionVersionActivity.class); - startActivityForResult(mapIntent, 0); - return false; + final Intent mapIntent = new Intent(this, ContributionVersionActivity.class); + this.startActivityForResult(mapIntent, 0); }); cat.addPreference(pref); }