
This changes the logic to only use a SharedPreference to track pending installs, and to set the "pending install" mark as soon as possible while waiting until final confirmation to unmark. Before, there was a complicated combination of a SharedPreference and the use of the APK in the cache as a mark. !488 refs #962 closes #1311 closes #1031 closes #1271