|
YAACC - UPNP Client and Server
|
Whether a content authority belongs to a provider of THIS app. More...

Static Public Member Functions | |
| static boolean | isOwnAuthority (PackageManager packageManager, String ownPackage, String authority) |
| static String | fileProviderAuthority (String ownPackage) |
The authority of yaacc's file provider (${applicationId}.fileprovider in the manifest). | |
Whether a content authority belongs to a provider of THIS app.
The app has more than one (the file provider, the start-up provider of a library), and a future one would pass a check of the file provider's authority alone; a URI of any of them would let another app make yaacc read and serve its own data, so every authority is resolved to its package.
|
static |
| packageManager | the package manager |
| ownPackage | this app's package name |
| authority | the authority of the shared URI |