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);
}