Commit 91f5b727 authored by Simon Morlat's avatar Simon Morlat

print wake lock's names.

parent 8b7ea8b2
......@@ -111,7 +111,7 @@ unsigned long wake_lock_acquire(const char *tag) {
if(lock != NULL) {
(*env)->CallVoidMethod(env, lock, ctx.acquireID);
lock = (*env)->NewGlobalRef(env, lock);
belle_sip_message("bellesip_wake_lock_acquire(): Android wake lock acquired [ref=%p]", (void *)lock);
belle_sip_message("bellesip_wake_lock_acquire(): Android wake lock [%s] acquired [ref=%p]", tag, (void *)lock);
return (unsigned long)lock;
} else {
belle_sip_message("bellesip_wake_lock_acquire(): wake lock creation failed");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment