From 306f3dfeafe3451ed1fe47ace0e9e4017646cb97 Mon Sep 17 00:00:00 2001 From: Denis Date: Thu, 19 Mar 2015 17:17:32 +0200 Subject: [PATCH] Enabled OsMo to be able to send debug information for all users --- .../plus/osmo/SettingsOsMoActivity.java | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/osmo/SettingsOsMoActivity.java b/OsmAnd/src/net/osmand/plus/osmo/SettingsOsMoActivity.java index f17bb17092..977959d973 100644 --- a/OsmAnd/src/net/osmand/plus/osmo/SettingsOsMoActivity.java +++ b/OsmAnd/src/net/osmand/plus/osmo/SettingsOsMoActivity.java @@ -1,16 +1,6 @@ package net.osmand.plus.osmo; -import java.util.List; - -import net.osmand.access.AccessibleToast; -import net.osmand.plus.OsmandApplication; -import net.osmand.plus.OsmandPlugin; -import net.osmand.plus.R; -import net.osmand.plus.activities.SettingsBaseActivity; -import net.osmand.plus.activities.actions.ShareDialog; -import net.osmand.plus.osmo.OsMoService.SessionInfo; -import net.osmand.util.Algorithms; import android.app.AlertDialog; import android.app.AlertDialog.Builder; import android.content.DialogInterface; @@ -26,6 +16,16 @@ import android.widget.ScrollView; import android.widget.TextView; import android.widget.Toast; +import net.osmand.access.AccessibleToast; +import net.osmand.plus.OsmandApplication; +import net.osmand.plus.R; +import net.osmand.plus.activities.SettingsBaseActivity; +import net.osmand.plus.activities.actions.ShareDialog; +import net.osmand.plus.osmo.OsMoService.SessionInfo; +import net.osmand.util.Algorithms; + +import java.util.List; + public class SettingsOsMoActivity extends SettingsBaseActivity { private Preference debugPref; @@ -75,13 +75,13 @@ public class SettingsOsMoActivity extends SettingsBaseActivity { useHttps.setSummary(R.string.osmo_use_https_descr); grp.addPreference(useHttps); - if (OsmandPlugin.isDevelopment()) { +// if (OsmandPlugin.isDevelopment()) { debugPref = new Preference(this); debugPref.setTitle(R.string.osmo_settings_debug); debugPref.setOnPreferenceClickListener(this); updateDebugPref(); grp.addPreference(debugPref); - } +// } } private void updateDebugPref() {