Parent #17173
This issue is about resolving the getExternalStoragePublicDirectory(...) and allowScanningByMediaScanner() compile warnings for the WordPress module, and possibly, for the lib modules as well.
PS: Some of those warnings are already deprecated (see here and here).
- This
getExternalStoragePublicDirectory method was deprecated in API level 29.
- This
allowScanningByMediaScanner method was deprecated in API level 29. Starting in Q, this value is ignored. Files downloaded to directories owned by applications (e.g. Context#getExternalFilesDir(String)) will not be scanned by MediaScanner and the rest will be scanned.
For more info see: