Add javadoc saying that wake locks are ref counted by default.
Bug: 3012561 Change-Id: I441a42fdb12ba6d87d6f5a49463d6ddcc300acb7
This commit is contained in:
@@ -232,6 +232,8 @@ public class PowerManager
|
|||||||
/**
|
/**
|
||||||
* Sets whether this WakeLock is ref counted.
|
* 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.
|
* @param value true for ref counted, false for not ref counted.
|
||||||
*/
|
*/
|
||||||
public void setReferenceCounted(boolean value)
|
public void setReferenceCounted(boolean value)
|
||||||
|
|||||||
Reference in New Issue
Block a user