Skip to content

Compiler Warnings as Errors - WordPress Module - ExternalStorage & ExternalFile #17252

@ParaskP7

Description

@ParaskP7

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:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions