mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 13:32:07 +01:00
Improve javadoc of ServerPingWithAlarmManager
This commit is contained in:
parent
b60a772df1
commit
eab5682a03
1 changed files with 2 additions and 2 deletions
|
@ -99,7 +99,7 @@ public final class ServerPingWithAlarmManager extends Manager {
|
||||||
* If enabled, ServerPingWithAlarmManager will call {@link PingManager#pingServerIfNecessary()}
|
* If enabled, ServerPingWithAlarmManager will call {@link PingManager#pingServerIfNecessary()}
|
||||||
* for the connection of this instance every half hour.
|
* for the connection of this instance every half hour.
|
||||||
*
|
*
|
||||||
* @param enabled
|
* @param enabled whether or not this manager is should be enabled or not.
|
||||||
*/
|
*/
|
||||||
public void setEnabled(boolean enabled) {
|
public void setEnabled(boolean enabled) {
|
||||||
mEnabled = enabled;
|
mEnabled = enabled;
|
||||||
|
@ -157,7 +157,7 @@ public final class ServerPingWithAlarmManager extends Manager {
|
||||||
* register the alarm broadcast receiver to receive this intent. The receiver will check all
|
* register the alarm broadcast receiver to receive this intent. The receiver will check all
|
||||||
* known questions if a ping is Necessary when invoked by the alarm intent.
|
* known questions if a ping is Necessary when invoked by the alarm intent.
|
||||||
*
|
*
|
||||||
* @param context
|
* @param context an Android context.
|
||||||
*/
|
*/
|
||||||
public static void onCreate(Context context) {
|
public static void onCreate(Context context) {
|
||||||
sContext = context;
|
sContext = context;
|
||||||
|
|
Loading…
Reference in a new issue