novoda / download-manager

A library that handles long-running downloads, handling the network interactions and retrying downloads automatically after failures
Apache License 2.0
483 stars 63 forks source link

Move towards using the StorageManager #496

Open Mecharyry opened 5 years ago

Mecharyry commented 5 years ago

Problem

At the moment we are using the File API for determining the amount of space we have available for saving download assets. In this PR lint notified us that we could use the StorageManager.

Next Steps

See if the StorageManager is viable for this library, what benefits it gives etc and implement for the StorageRequirementRule if we deem necessary.