From a937f3b43b60827168a5888611789e8e9efd9a5e Mon Sep 17 00:00:00 2001 From: GaidamakUA Date: Thu, 21 Jan 2016 09:53:26 +0200 Subject: [PATCH] Removed logging. --- .../osmand/plus/liveupdates/PerformLiveUpdateAsyncTask.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/liveupdates/PerformLiveUpdateAsyncTask.java b/OsmAnd/src/net/osmand/plus/liveupdates/PerformLiveUpdateAsyncTask.java index 84ae58400a..9e6e3eb5bb 100644 --- a/OsmAnd/src/net/osmand/plus/liveupdates/PerformLiveUpdateAsyncTask.java +++ b/OsmAnd/src/net/osmand/plus/liveupdates/PerformLiveUpdateAsyncTask.java @@ -27,7 +27,7 @@ import static net.osmand.plus.liveupdates.LiveUpdatesHelper.preferenceUpdateFreq public class PerformLiveUpdateAsyncTask extends AsyncTask { - private final static Log LOG = PlatformUtil.getLog(OsmLiveActivity.class); + private final static Log LOG = PlatformUtil.getLog(PerformLiveUpdateAsyncTask.class); private final Context context; private final LocalIndexInfo localIndexInfo; @@ -42,6 +42,7 @@ public class PerformLiveUpdateAsyncTask @Override protected void onPreExecute() { + LOG.debug("onPreExecute"); if (context instanceof AbstractDownloadActivity) { AbstractDownloadActivity activity = (AbstractDownloadActivity) context; activity.setSupportProgressBarIndeterminateVisibility(true); @@ -58,6 +59,7 @@ public class PerformLiveUpdateAsyncTask @Override protected IncrementalChangesManager.IncrementalUpdateList doInBackground(String... params) { + LOG.debug("doInBackground"); final OsmandApplication myApplication = getMyApplication(); IncrementalChangesManager cm = myApplication.getResourceManager().getChangesManager(); return cm.getUpdatesByMonth(params[0]); @@ -65,6 +67,7 @@ public class PerformLiveUpdateAsyncTask @Override protected void onPostExecute(IncrementalChangesManager.IncrementalUpdateList result) { + LOG.debug("onPostExecute"); if (context instanceof AbstractDownloadActivity) { AbstractDownloadActivity activity = (AbstractDownloadActivity) context; activity.setSupportProgressBarIndeterminateVisibility(false);