mirror of
https://github.com/whyorean/AuroraStore.git
synced 2026-06-11 17:26:53 -04:00
1bfc8a14 adds the ability to download APKs via an intent, but since
intents are asynchronous, and the incomplete APK appears in its final
destination ~immediately while it downloads, the caller lacks a way to
identify that download has completed.
This commit adds two marker files in the form:
sdcard/Aurora/Store/Downloads/com.pkg/.1234.download-in-progress
sdcard/Aurora/Store/Downloads/com.pkg/.1234.download-complete
(where `com.pkg` and `1234` are package names and version codes
respectively)
in order that the caller can see:
1. the version that is being downloaded;
2. when the download has finished.