|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | + xmlns:tools="http://schemas.android.com/tools" |
| 4 | + package="com.example.myapplication"> |
| 5 | + |
| 6 | + <application |
| 7 | + android:allowBackup="false" |
| 8 | + android:dataExtractionRules="@xml/data_extraction_rules" |
| 9 | + android:fullBackupContent="@xml/backup_rules" |
| 10 | + android:icon="@mipmap/ic_launcher" |
| 11 | + android:label="@string/app_name" |
| 12 | + android:roundIcon="@mipmap/ic_launcher_round" |
| 13 | + android:supportsRtl="true" |
| 14 | + |
| 15 | + android:theme="@style/Theme.MyApplication" |
| 16 | + tools:targetApi="31"> |
| 17 | + |
| 18 | + <!-- Read Only --> |
| 19 | + |
| 20 | + <!-- $ hasIncompletePermissions --><provider |
| 21 | + android:name=".MyContentProviderRO" |
| 22 | + android:authorities="table" |
| 23 | + android:enabled="true" |
| 24 | + android:exported="true" |
| 25 | + android:readPermission="android.permission.MANAGE_DOCUMENTS"></provider> |
| 26 | + |
| 27 | + |
| 28 | + <!-- Write Only --> |
| 29 | + |
| 30 | + <!-- $ hasIncompletePermissions --> <provider |
| 31 | + android:name=".MyContentProviderWO" |
| 32 | + android:authorities="table" |
| 33 | + android:enabled="true" |
| 34 | + android:exported="true" |
| 35 | + android:writePermission="android.permission.MANAGE_DOCUMENTS"></provider> |
| 36 | + |
| 37 | + <!-- Full --> |
| 38 | + |
| 39 | + <!-- Safe: provider has full permissions set --> <provider |
| 40 | + android:name=".MyContentProviderFull" |
| 41 | + android:authorities="morestuff" |
| 42 | + android:enabled="true" |
| 43 | + android:exported="true" |
| 44 | + android:permission="android.permission.MANAGE_DOCUMENTS"></provider> |
| 45 | + |
| 46 | + <!-- Read-Write --> |
| 47 | + |
| 48 | + <!-- Safe: has both read and write permission --><provider |
| 49 | + android:name=".MyContentProviderRW" |
| 50 | + android:authorities="table" |
| 51 | + android:enabled="true" |
| 52 | + android:exported="true" |
| 53 | + android:readPermission="android.permission.MANAGE_DOCUMENTS" |
| 54 | + android:writePermission="android.permission.MANAGE_DOCUMENTS"></provider> |
| 55 | + |
| 56 | + |
| 57 | + <!-- Not exported --> |
| 58 | + |
| 59 | + <!-- Safe: provider not exported --> <provider |
| 60 | + android:name=".MyContentProviderNE" |
| 61 | + android:authorities="table" |
| 62 | + android:enabled="true" |
| 63 | + android:writePermission="android.permission.MANAGE_DOCUMENTS"></provider> |
| 64 | + |
| 65 | + </application> |
| 66 | + |
| 67 | +</manifest> |
0 commit comments