Reputation: 541
Title can be enigmatic. My question is simple i create wakelock:
pwrMgr.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "wakelock1")
Then i do this again in another place, with same tag, do i get same wakelock with acquiration references?
Upvotes: 5
Views: 1402
Reputation: 1006539
No, you do not. I wish that you did, as it would have simplified some scenarios. As the documentation indicates, it is solely for debugging purposes.
Upvotes: 5