1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-26 01:28:50 -05:00

Wrap looging in if (DEBUG) statements.

This commit is contained in:
Jesse Vincent 2010-01-03 01:50:25 +00:00
parent 099366184a
commit f9e8c877ff

View File

@ -34,11 +34,13 @@ public class PushService extends CoreService
{
if (START_SERVICE.equals(intent.getAction()))
{
Log.i(K9.LOG_TAG, "PushService started with startId = " + startId);
if (K9.DEBUG)
Log.i(K9.LOG_TAG, "PushService started with startId = " + startId);
}
else if (STOP_SERVICE.equals(intent.getAction()))
{
Log.i(K9.LOG_TAG, "PushService stopping with startId = " + startId);
if (K9.DEBUG)
Log.i(K9.LOG_TAG, "PushService stopping with startId = " + startId);
stopSelf(startId);
}