Skip to content

Commit

Permalink
fix: add comment for easy understanding
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Jun 23, 2022
1 parent b64aa04 commit 9c59c02
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ private void checkAppReady() {
}
}

@Override
@Override // appMovedToForeground
public void onActivityStarted(@NonNull final Activity activity) {
if (CapacitorUpdaterPlugin.this._isAutoUpdateEnabled()) {
new Thread(new Runnable(){
Expand Down Expand Up @@ -480,7 +480,7 @@ private void notifyUpdateAvailable(final String version) {
this.checkAppReady();
}

@Override
@Override // appMovedToBackground
public void onActivityStopped(@NonNull final Activity activity) {
Log.i(CapacitorUpdater.TAG, "Checking for pending update");
try {
Expand Down

0 comments on commit 9c59c02

Please sign in to comment.