From 9cd52d5ef324a58bb62b47850bd8e13aa3bf2b23 Mon Sep 17 00:00:00 2001 From: Daniel Applebaum Date: Fri, 22 Jan 2010 05:55:58 +0000 Subject: [PATCH] Change WakeLock management logging to verbose level (now that it is working) --- src/com/fsck/k9/service/CoreReceiver.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/fsck/k9/service/CoreReceiver.java b/src/com/fsck/k9/service/CoreReceiver.java index 20e5fed21..a81e7f3c3 100644 --- a/src/com/fsck/k9/service/CoreReceiver.java +++ b/src/com/fsck/k9/service/CoreReceiver.java @@ -32,7 +32,7 @@ public class CoreReceiver extends BroadcastReceiver Integer tmpWakeLockId = wakeLockSeq.getAndIncrement(); wakeLocks.put(tmpWakeLockId, wakeLock); if (K9.DEBUG) - Log.i(K9.LOG_TAG, "CoreReceiver Created wakeLock " + tmpWakeLockId); + Log.v(K9.LOG_TAG, "CoreReceiver Created wakeLock " + tmpWakeLockId); return tmpWakeLockId; } @@ -44,7 +44,7 @@ public class CoreReceiver extends BroadcastReceiver if (wl != null) { if (K9.DEBUG) - Log.i(K9.LOG_TAG, "CoreReceiver Releasing wakeLock " + wakeLockId); + Log.v(K9.LOG_TAG, "CoreReceiver Releasing wakeLock " + wakeLockId); wl.release(); } else @@ -67,7 +67,7 @@ public class CoreReceiver extends BroadcastReceiver if (wakeLockId != -1) { if (K9.DEBUG) - Log.i(K9.LOG_TAG, "CoreReceiver Release wakeLock " + wakeLockId); + Log.v(K9.LOG_TAG, "CoreReceiver Release wakeLock " + wakeLockId); CoreReceiver.releaseWakeLock(wakeLockId); } } @@ -90,7 +90,7 @@ public class CoreReceiver extends BroadcastReceiver public static void releaseWakeLock(Context context, int wakeLockId) { if (K9.DEBUG) - Log.i(K9.LOG_TAG, "CoreReceiver Got request to release wakeLock " + wakeLockId); + Log.v(K9.LOG_TAG, "CoreReceiver Got request to release wakeLock " + wakeLockId); Intent i = new Intent(); i.setClass(context, CoreReceiver.class); i.setAction(WAKE_LOCK_RELEASE);