Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit c5a84d1

Browse files
committed
Tweak comments
1 parent ac42b44 commit c5a84d1

File tree

1 file changed

+3
-3
lines changed
  • android/app/src/main/java/com/microsoft/codepush/react

1 file changed

+3
-3
lines changed

android/app/src/main/java/com/microsoft/codepush/react/CodePush.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ private JSONObject getPendingUpdate() {
233233
}
234234

235235
private void initializeUpdateAfterRestart() {
236-
// Re-set the state that indicates that
237-
// the app was just updated.
236+
// Reset the state which indicates that
237+
// the app was just freshly updated.
238238
didUpdate = false;
239239

240240
JSONObject pendingUpdate = getPendingUpdate();
@@ -249,7 +249,7 @@ private void initializeUpdateAfterRestart() {
249249
rollbackPackage();
250250
} else {
251251
// There is in fact a new update running for the first
252-
// time, so update the local state to ensure isFirstRun works
252+
// time, so update the local state to ensure the client knows.
253253
didUpdate = true;
254254

255255
// Mark that we tried to initialize the new update, so that if it crashes,

0 commit comments

Comments
 (0)