aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/twitter
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2012-03-31 21:20:15 +0200
committerSamuel Tardieu <sam@rfc1149.net>2012-03-31 21:51:37 +0200
commit78eba983f784fe2e68e512ad6b466d5798545d24 (patch)
treeb1414fb736147fbb1ba2f7d9a90d78f85ba79440 /main/src/cgeo/geocaching/twitter
parent4ea70e3436f2bb9ba05af011df6ea1fc802f117d (diff)
downloadcgeo-78eba983f784fe2e68e512ad6b466d5798545d24.zip
cgeo-78eba983f784fe2e68e512ad6b466d5798545d24.tar.gz
cgeo-78eba983f784fe2e68e512ad6b466d5798545d24.tar.bz2
Proxy all logs through cgeo.geocaching.utils.Log
The behaviour is unchanged, but altering Settings.isDebug() to return false will prevent verbose, debug and info levels messages from being logged. Part of work on #1301.
Diffstat (limited to 'main/src/cgeo/geocaching/twitter')
-rw-r--r--main/src/cgeo/geocaching/twitter/Twitter.java2
-rw-r--r--main/src/cgeo/geocaching/twitter/TwitterAuthorizationActivity.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/twitter/Twitter.java b/main/src/cgeo/geocaching/twitter/Twitter.java
index fa1a39d..0696cf1 100644
--- a/main/src/cgeo/geocaching/twitter/Twitter.java
+++ b/main/src/cgeo/geocaching/twitter/Twitter.java
@@ -10,10 +10,10 @@ import cgeo.geocaching.geopoint.GeopointFormatter.Format;
import cgeo.geocaching.network.Network;
import cgeo.geocaching.network.OAuth;
import cgeo.geocaching.network.Parameters;
+import cgeo.geocaching.utils.Log;
import org.apache.http.HttpResponse;
-import android.util.Log;
public final class Twitter {
public static final int MAX_TWEET_SIZE = 140;
diff --git a/main/src/cgeo/geocaching/twitter/TwitterAuthorizationActivity.java b/main/src/cgeo/geocaching/twitter/TwitterAuthorizationActivity.java
index fffe12e..c9710e9 100644
--- a/main/src/cgeo/geocaching/twitter/TwitterAuthorizationActivity.java
+++ b/main/src/cgeo/geocaching/twitter/TwitterAuthorizationActivity.java
@@ -6,6 +6,7 @@ import cgeo.geocaching.activity.AbstractActivity;
import cgeo.geocaching.network.Network;
import cgeo.geocaching.network.OAuth;
import cgeo.geocaching.network.Parameters;
+import cgeo.geocaching.utils.Log;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.tuple.ImmutablePair;
@@ -18,7 +19,6 @@ import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
-import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;