| 25 | } |
| 26 | |
| 27 | bool IsEnoughSpaceForDownload(MwmSize mwmSize) |
| 28 | { |
| 29 | // Additional size which is necessary to have on flash card to download file of mwmSize bytes. |
| 30 | MwmSize constexpr kExtraSizeBytes = 10 * 1024 * 1024; |
| 31 | return GetPlatform().GetWritableStorageStatus(mwmSize + kExtraSizeBytes) == Platform::TStorageStatus::STORAGE_OK; |
| 32 | } |
| 33 | |
| 34 | bool IsEnoughSpaceForDownload(CountryId const & countryId, Storage const & storage) |
| 35 | { |
no test coverage detected