Add javadoc saying that wake locks are ref counted by default.

Bug: 3012561
Change-Id: I441a42fdb12ba6d87d6f5a49463d6ddcc300acb7
This commit is contained in:
Joe Onorato
2010-09-22 16:54:36 -07:00
parent 95f600b55f
commit 8310b42fbc

View File

@ -232,6 +232,8 @@ public class PowerManager
/**
* Sets whether this WakeLock is ref counted.
*
* <p>Wake locks are reference counted by default.
*
* @param value true for ref counted, false for not ref counted.
*/
public void setReferenceCounted(boolean value)