DescriptionDon't download identical APKs on update.
When we update a certified WebAPK whose Clank-fetched content no longer matches
its Harpoon-fetched content, Clank will always think the WebAPK is out of date,
and check for a new update from the WAM at every opportunity.
To mitigate this, server returns an empty download URL in the Response proto.
It tells the client _not_ to download the APK from the gstatic URL that the
server provides, because it will be exactly identical to the one already
installed on the device. This will save the bulk of the bandwidth usage for
unnecessary update.
BUG=680131
Review-Url: https://codereview.chromium.org/2632243004
Cr-Commit-Position: refs/heads/master@{#449688}
Committed: https://chromium.googlesource.com/chromium/src/+/345600684d7a9a0a31298d165e3e7d7deab34076
Patch Set 1 #
Total comments: 2
Patch Set 2 : Nits. #
Total comments: 4
Patch Set 3 : Nits. #
Messages
Total messages: 16 (6 generated)
|