You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug getActivity().getExternalCacheDir() returns /storage/emulated/0/Android/data/com.example.test2/cache, and listFiles returns null instead of empty array.
To Reproduce
Steps to reproduce the behavior:
Run getActivity().getExternalCacheDir() + "\n" + Arrays.toString(getActivity().getExternalCacheDir().listFiles()) in app.
Expected behavior File.listFiles should return array.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Device: Vivo V2055A
OS: Android 12
Version: master
The text was updated successfully, but these errors were encountered:
Describe the bug
getActivity().getExternalCacheDir()
returns/storage/emulated/0/Android/data/com.example.test2/cache
, and listFiles returns null instead of empty array.To Reproduce
Steps to reproduce the behavior:
Run
getActivity().getExternalCacheDir() + "\n" + Arrays.toString(getActivity().getExternalCacheDir().listFiles())
in app.Expected behavior
File.listFiles
should return array.Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: