summaryrefslogtreecommitdiffstats
path: root/core/java/android/os
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/os')
-rw-r--r--core/java/android/os/Binder.java5
-rw-r--r--core/java/android/os/Debug.java9
-rw-r--r--core/java/android/os/Looper.java1
-rw-r--r--core/java/android/os/MessageQueue.java3
4 files changed, 7 insertions, 11 deletions
diff --git a/core/java/android/os/Binder.java b/core/java/android/os/Binder.java
index ae1e1c2..c25ebb7 100644
--- a/core/java/android/os/Binder.java
+++ b/core/java/android/os/Binder.java
@@ -16,7 +16,6 @@
package android.os;
-import android.util.Config;
import android.util.Log;
import java.io.FileDescriptor;
@@ -291,7 +290,7 @@ public class Binder implements IBinder {
*/
public final boolean transact(int code, Parcel data, Parcel reply,
int flags) throws RemoteException {
- if (Config.LOGV) Log.v("Binder", "Transact: " + code + " to " + this);
+ if (false) Log.v("Binder", "Transact: " + code + " to " + this);
if (data != null) {
data.setDataPosition(0);
}
@@ -413,7 +412,7 @@ final class BinderProxy implements IBinder {
private native final void destroy();
private static final void sendDeathNotice(DeathRecipient recipient) {
- if (Config.LOGV) Log.v("JavaBinder", "sendDeathNotice to " + recipient);
+ if (false) Log.v("JavaBinder", "sendDeathNotice to " + recipient);
try {
recipient.binderDied();
}
diff --git a/core/java/android/os/Debug.java b/core/java/android/os/Debug.java
index 87aeccb..ba69246 100644
--- a/core/java/android/os/Debug.java
+++ b/core/java/android/os/Debug.java
@@ -18,7 +18,6 @@ package android.os;
import com.android.internal.util.TypedProperties;
-import android.util.Config;
import android.util.Log;
import java.io.FileDescriptor;
@@ -1031,7 +1030,7 @@ href="{@docRoot}guide/developing/tools/traceview.html">Traceview: A Graphical Lo
* Load the debug properties from the standard files into debugProperties.
*/
static {
- if (Config.DEBUG) {
+ if (false) {
final String TAG = "DebugProperties";
final String[] files = { "/system/debug.prop", "/debug.prop", "/data/debug.prop" };
final TypedProperties tp = new TypedProperties();
@@ -1157,10 +1156,10 @@ href="{@docRoot}guide/developing/tools/traceview.html">Traceview: A Graphical Lo
/**
* Reflectively sets static fields of a class based on internal debugging
- * properties. This method is a no-op if android.util.Config.DEBUG is
+ * properties. This method is a no-op if false is
* false.
* <p>
- * <strong>NOTE TO APPLICATION DEVELOPERS</strong>: Config.DEBUG will
+ * <strong>NOTE TO APPLICATION DEVELOPERS</strong>: false will
* always be false in release builds. This API is typically only useful
* for platform developers.
* </p>
@@ -1211,7 +1210,7 @@ href="{@docRoot}guide/developing/tools/traceview.html">Traceview: A Graphical Lo
* the internal debugging property value.
*/
public static void setFieldsOn(Class<?> cl, boolean partial) {
- if (Config.DEBUG) {
+ if (false) {
if (debugProperties != null) {
/* Only look for fields declared directly by the class,
* so we don't mysteriously change static fields in superclasses.
diff --git a/core/java/android/os/Looper.java b/core/java/android/os/Looper.java
index ccf642c..3edd692 100644
--- a/core/java/android/os/Looper.java
+++ b/core/java/android/os/Looper.java
@@ -16,7 +16,6 @@
package android.os;
-import android.util.Config;
import android.util.Log;
import android.util.Printer;
import android.util.PrefixPrinter;
diff --git a/core/java/android/os/MessageQueue.java b/core/java/android/os/MessageQueue.java
index bb07825..a658fc4 100644
--- a/core/java/android/os/MessageQueue.java
+++ b/core/java/android/os/MessageQueue.java
@@ -17,7 +17,6 @@
package android.os;
import android.util.AndroidRuntimeException;
-import android.util.Config;
import android.util.Log;
import java.util.ArrayList;
@@ -128,7 +127,7 @@ public class MessageQueue {
mBlocked = false;
mMessages = msg.next;
msg.next = null;
- if (Config.LOGV) Log.v("MessageQueue", "Returning message: " + msg);
+ if (false) Log.v("MessageQueue", "Returning message: " + msg);
msg.markInUse();
return msg;
} else {