According to Android's pages about
FileProvider
I guess you could use a subdir for one of the two (probabily AU will be a better candidate). "name" should be different too, since its a way to name that specific sub.
<external-files-path name="
name" path="
path" />
Represents files in the root of your app's external storage area.
<files-path name="
name" path="
path" />
Represents files in the files/ subdirectory of your app's internal storage area.
These child elements all use the same attributes:
name="
name"
A URI path segment. To enforce security, this value hides the name of the subdirectory you're sharing. The subdirectory name for this value is contained in the path attribute.
path="
path"
The subdirectory you're sharing. While the name attribute is a URI path segment, the path value is an actual subdirectory name. Notice that the value refers to a
subdirectory, not an individual file or files. You can't share a single file by its file name, nor can you specify a subset of files using wildcards.
You must specify a child element of <paths> for each directory that contains files for which you want content URIs. For example, these XML elements specify two directories:
<paths xmlns:android="
http://schemas.android.com/apk/res/android">
<files-path name="my_images" path="images/"/>
<files-path name="my_docs" path="docs/"/>
</paths>
Eventually, you could try with something like:
'for appupdating
CreateResource(xml, provider_paths,<files-path name="auname" path="shared/au" />)