summaryrefslogtreecommitdiffstats
path: root/tests/CoreTests
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2011-04-06 19:22:23 -0700
committerJoe Onorato <joeo@google.com>2011-04-07 19:23:05 -0700
commit43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09 (patch)
treea5aac88ebb367a0f046a5724edc8e35cbe192cb9 /tests/CoreTests
parentea4af8914a3b6ea68558f20ce502966032ca1ab1 (diff)
downloadframeworks_base-43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09.zip
frameworks_base-43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09.tar.gz
frameworks_base-43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09.tar.bz2
Remove the deprecated things from Config.java. These haven't been working since before 1.0.
Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
Diffstat (limited to 'tests/CoreTests')
-rw-r--r--tests/CoreTests/android/core/TestEventHandler.java19
1 files changed, 9 insertions, 10 deletions
diff --git a/tests/CoreTests/android/core/TestEventHandler.java b/tests/CoreTests/android/core/TestEventHandler.java
index 45f2f69..1ee27d9 100644
--- a/tests/CoreTests/android/core/TestEventHandler.java
+++ b/tests/CoreTests/android/core/TestEventHandler.java
@@ -21,7 +21,6 @@ import java.util.Map;
import org.apache.http.protocol.HTTP;
import android.util.Log;
-import android.util.Config;
import android.net.http.*;
/**
@@ -157,7 +156,7 @@ public class TestEventHandler implements EventHandler {
*/
public void status(int major_version, int minor_version,
int code, String reason_phrase) {
- if (Config.LOGV) {
+ if (false) {
Log.v(LOGTAG, "TestEventHandler:status() major: " + major_version +
" minor: " + minor_version +
" code: " + code +
@@ -219,7 +218,7 @@ public class TestEventHandler implements EventHandler {
* sends header fields
*/
public void headers(Headers headers) {
- if (Config.LOGV) {
+ if (false) {
Log.v(LOGTAG, "TestEventHandler:headers()");
}
expects[TEST_HEADERS] = false;
@@ -325,7 +324,7 @@ public class TestEventHandler implements EventHandler {
* @param permanent Indicator of whether this is a permanent change
*/
public void locationChanged(String newLocation, boolean permanent) {
- if (Config.LOGV) {
+ if (false) {
Log.v(LOGTAG, "TestEventHandler: locationChanged() " +
newLocation + " permanent " + permanent);
}
@@ -371,7 +370,7 @@ public class TestEventHandler implements EventHandler {
public void data(byte[] data, int len) {
boolean mismatch = false;
- if (Config.LOGV) {
+ if (false) {
Log.v(LOGTAG, "TestEventHandler: data() " + len + " bytes");
}
@@ -415,7 +414,7 @@ public class TestEventHandler implements EventHandler {
* indicate completion or a request
*/
public void endData() {
- if (Config.LOGV) {
+ if (false) {
Log.v(LOGTAG, "TestEventHandler: endData() called");
}
@@ -455,7 +454,7 @@ public class TestEventHandler implements EventHandler {
* @param description Brief description of the error
*/
public void error(int id, String description) {
- if (Config.LOGV) {
+ if (false) {
Log.v(LOGTAG, "TestEventHandler: error() called Id:" + id +
" description " + description);
}
@@ -500,7 +499,7 @@ public class TestEventHandler implements EventHandler {
public boolean handleSslErrorRequest(SslError error) {
int primaryError = error.getPrimaryError();
- if (Config.LOGV) {
+ if (false) {
Log.v(LOGTAG, "TestEventHandler: handleSslErrorRequest(): "+
" primary error:" + primaryError +
" certificate: " + error.getCertificate());
@@ -792,7 +791,7 @@ public class TestEventHandler implements EventHandler {
* @param requestHandle The RequestHandle
*/
public void attachRequestHandle(RequestHandle requestHandle) {
- if (Config.LOGV) {
+ if (false) {
Log.v(LOGTAG, "TestEventHandler.attachRequestHandle(): " +
"requestHandle: " + requestHandle);
}
@@ -803,7 +802,7 @@ public class TestEventHandler implements EventHandler {
* Detach the RequestHandle
*/
public void detachRequestHandle() {
- if (Config.LOGV) {
+ if (false) {
Log.v(LOGTAG, "TestEventHandler.detachRequestHandle(): " +
"requestHandle: " + mRequestHandle);
}