Skip to content

Commit

Permalink
fix comment in SessionBasedInstallConfirmationActivity
Browse files Browse the repository at this point in the history
  • Loading branch information
solrudev committed Oct 25, 2024
1 parent 79324ea commit 971e000
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ internal class SessionBasedInstallConfirmationActivity : InstallActivity(CONFIRM
return
}
val sessionInfo = packageInstaller.getSessionInfo(sessionId)
// Hacky workaround: progress not going higher than 0.8 means session is dead. This is needed to complete
// Hacky workaround: progress not going higher after commit means session is dead. This is needed to complete
// the Ackpine session with failure on reasons which are not handled in PackageInstallerStatusReceiver.
// For example, "There was a problem parsing the package" error falls under that.
val isSessionAlive = sessionInfo != null && sessionInfo.progress >= getSessionBasedSessionCommitProgressValue()
Expand Down

0 comments on commit 971e000

Please sign in to comment.