getExternalStorageDirectory() is deprecated on Android 10 (API 29), I’m using
context.getExternalFilesDir() for storing downloaded files in internal storage by granting
Manifest.permission.WRITE_EXTERNAL_STORAGE, but as per documentation:
This is like getFilesDir() in that these files will be deleted when the application is uninstalled
I am not targeting SAF, as I don’t want to let user chooses the directory with
Appreciate your help in advance.
Source: Android Questions