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:
parent
099366184a
commit
f9e8c877ff
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user