Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

1303-Pass_hardcoded_value_when_externalCacheDir_return_null

Description

sometimes externalCacheDir returns null/empty. In that case, we used to pass an empty string. but we need externalCacheDir to let downloadManager to download & save files. downloadManager doesn't have access to cacheDir, so can't save files in it.

In this case, we pass a hardcoded externalCacheDir path value.

Screenshots

Technical details

Tests

Issues

10 Commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

Merge request reports

Loading