Tired of spending a large chunk of your monthly data on Android updates? Well, good news! Google has come up with a way to drastically reduce the file size of updates by introducing file-by-file patching.
Details after the break.
This is, technically, a much more efficient way to handle patching. By doing it file-by-file, users are using much less data to update applications; however, it does require a bit more processing power from your device. On newer modern devices, Google says it’ll take a little over a second per megabyte to apply the update. That’ll be a little longer on older and less powerful devices, but you’re still using less data at the end of the month, which isn’t a bad trade off.
Here’s how Google explains the new file-by-file patching system in layman’s terms:
“Imagine you are an author of a book about to be published, and wish to change a single sentence – it’s much easier to tell the editor which sentence to change and what to change, rather than send an entirely new book. In the same way, patches are much smaller and much faster to download than the entire APK. “
Right now, file-by-file patching is only available with auto-updates. We don’t know if Google plans to expand that to manual updates soon, but for now, the thought process is that auto-updates usually happen during the night when your phone is plugged in and you’re not using it. That said, this all happens seamlessly in the background without you ever seeing it. It’s a bit of a mixed bag, if you’re someone who wants to view a changelog or wait for a few positive reviews to pop-up on the Play Store page in order to avoid an app-breaking bug.
From the sounds of it, developers won’t need to do anything to offer file-by-file patching. Since this is all apart of an internal Google algorithm, the file-by-file patching is added automatically.
source: Android Developers Blog