mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +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()}
|
||||
* 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) {
|
||||
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
|
||||
* 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) {
|
||||
sContext = context;
|
||||
|
|
Loading…
Reference in a new issue