Skip to content

Commit

Permalink
Improve javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavpandey committed Jul 21, 2024
1 parent 42bcab9 commit 4da53f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2022 Pranav Pandey
* Copyright 2017-2024 Pranav Pandey
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -308,7 +308,7 @@ public void onDestroy() {
public void setHinge(@DynamicHinge int hinge) {
if (hinge != getHinge()) {
this.mHinge = hinge;

onHingeStateChange(hinge);
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2022 Pranav Pandey
* Copyright 2017-2024 Pranav Pandey
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -69,10 +69,10 @@ public int onStartCommand(@Nullable Intent intent, int flags, int startId) {
}

/**
* Get restart interval after which try to restart the service.
* Get the restart interval after which try to restart the service.
* <p>Override this method in the extended class to change the default interval.
*
* @return The Interval in milliseconds after which service will be restarted.
* @return The interval in milliseconds after which service will be restarted.
*
* @see #ADE_DEFAULT_RESTART_INTERVAL
*/
Expand Down

0 comments on commit 4da53f6

Please sign in to comment.