java.lang.Object | |
↳ | com.htc.net.FourG.FourGManager.FourGLock |
When an application is holding this lock, the application is indicating to the 4G Manager that the 4G radio should stay enabled. However, the 4G Manager's implementation of this "radio on" lock does not take precedence over the radio enable/disable logic of the aireplane mode or the carrier defined, lower-level radio policies. When one or more Lock objects are outstanding (held by applications), the implementation shall attempt to keep the radio on and and active even when the radio is idle. Applications holding locks for long periods may have adverse impact on the battery life.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Locks the 4G radio on until
release() is called | |||||||||||
Checks whether this Lock is currently held
| |||||||||||
Unlocks the 4G radio, allowing it to turn off when the device is idle
| |||||||||||
Controls whether this is a reference-counted or non-reference-counted Lock
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Unlocks the 4G radio, allowing it to turn off when the device is idle
Controls whether this is a reference-counted or non-reference-counted Lock