-
Notifications
You must be signed in to change notification settings - Fork 624
Extract APK hash on the background thread #4534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Generated by 🚫 Danger |
Coverage Report 1Affected Products
Test Logs |
lightweightExecutor, | ||
isSame -> { | ||
if (isSame) { | ||
LogWrapper.v(TAG, "New release is older or is currently installed"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is "older" always correct? Could be "newer" as well, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah sorry I meant to clarify this because I knew it was misleading. It can be "older" in that if we can return false
here only if the release has the same app version name, and the same APK hash, and has either an equal or older build version. If the build version was newer it would have returned true
in the condition above.
I've added a comment and renamed some methods to make it clearer what's going on here.
Size Report 1Affected Products
Test Logs |
0f43082
to
a8f4056
Compare
a8f4056
to
07afc16
Compare
Startup Time Report 1Note: Layout is sometimes suboptimal due to limited formatting support on GitHub. Please check this report on GCS. Startup time comparison between the CI merge commit (8d3a330) and the base commit (6788546) are not available. No macrobenchmark data found for the base commit (6788546). Analysis for the CI merge commit (8d3a330) can be found at: |
No description provided.