Merge pull request #11935 from nitanmarcel/patch-1 Use getCacheDir if getExternalCacheDir returns null.