Log wakelocks

pull/145/head
M66B 7 years ago
parent f731535e3c
commit 5a356ab23c

@ -2048,6 +2048,7 @@ public class ServiceSynchronize extends LifecycleService {
Log.e(Helper.TAG, ex + "\n" + Log.getStackTraceString(ex)); Log.e(Helper.TAG, ex + "\n" + Log.getStackTraceString(ex));
} finally { } finally {
wl.release(); wl.release();
EntityLog.log(ServiceSynchronize.this, "Start wake lock=" + wl.isHeld());
} }
} }
}, "sync.main"); }, "sync.main");
@ -2074,6 +2075,7 @@ public class ServiceSynchronize extends LifecycleService {
state = null; state = null;
} finally { } finally {
wl.release(); wl.release();
EntityLog.log(ServiceSynchronize.this, "Stop wake lock=" + wl.isHeld());
} }
} }
@ -2119,6 +2121,7 @@ public class ServiceSynchronize extends LifecycleService {
} }
} finally { } finally {
wl.release(); wl.release();
EntityLog.log(ServiceSynchronize.this, "Outbox wake lock=" + wl.isHeld());
} }
} }
}); });

Loading…
Cancel
Save