Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | package="com.android.packageinstaller" coreApp="true"> |
| 4 | |
| 5 | <original-package android:name="com.android.packageinstaller" /> |
| 6 | |
| 7 | <uses-permission android:name="android.permission.INSTALL_PACKAGES" /> |
| 8 | <uses-permission android:name="android.permission.DELETE_PACKAGES" /> |
| 9 | <uses-permission android:name="android.permission.CLEAR_APP_CACHE" /> |
| 10 | <uses-permission android:name="android.permission.CLEAR_APP_USER_DATA" /> |
| 11 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
| 12 | <uses-permission android:name="android.permission.MANAGE_USERS" /> |
| 13 | <uses-permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS" /> |
| 14 | <uses-permission android:name="android.permission.REVOKE_RUNTIME_PERMISSIONS" /> |
| 15 | <uses-permission android:name="android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS" /> |
| 16 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> |
| 17 | <uses-permission android:name="android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS" /> |
| 18 | <uses-permission android:name="android.permission.READ_INSTALL_SESSIONS" /> |
| 19 | <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" /> |
| 20 | <uses-permission android:name="android.permission.MANAGE_APP_OPS_MODES" /> |
| 21 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> |
| 22 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 23 | <uses-permission android:name="android.permission.KILL_UID" /> |
| 24 | <uses-permission android:name="android.permission.MANAGE_APP_OPS_RESTRICTIONS" /> |
| 25 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| 26 | <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS" /> |
| 27 | <uses-permission android:name="android.permission.USE_RESERVED_DISK" /> |
| 28 | |
| 29 | <uses-permission android:name="com.google.android.permission.INSTALL_WEARABLE_PACKAGES" /> |
| 30 | |
| 31 | <uses-permission android:name="android.permission.ACCESS_INSTANT_APPS" /> |
| 32 | |
| 33 | <application android:name=".PackageInstallerApplication" |
| 34 | android:label="@string/app_name" |
| 35 | android:allowBackup="false" |
| 36 | android:theme="@style/DialogWhenLarge" |
| 37 | android:supportsRtl="true" |
| 38 | android:defaultToDeviceProtectedStorage="true" |
| 39 | android:directBootAware="true"> |
| 40 | |
| 41 | <receiver android:name=".TemporaryFileManager" |
| 42 | android:exported="true"> |
| 43 | <intent-filter> |
| 44 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 45 | </intent-filter> |
| 46 | </receiver> |
| 47 | |
| 48 | <activity android:name=".InstallStart" |
| 49 | android:exported="true" |
| 50 | android:excludeFromRecents="true"> |
| 51 | <intent-filter android:priority="1"> |
| 52 | <action android:name="android.intent.action.VIEW" /> |
| 53 | <action android:name="android.intent.action.INSTALL_PACKAGE" /> |
| 54 | <category android:name="android.intent.category.DEFAULT" /> |
| 55 | <data android:scheme="file" /> |
| 56 | <data android:scheme="content" /> |
| 57 | <data android:mimeType="application/vnd.android.package-archive" /> |
| 58 | </intent-filter> |
| 59 | <intent-filter android:priority="1"> |
| 60 | <action android:name="android.intent.action.INSTALL_PACKAGE" /> |
| 61 | <category android:name="android.intent.category.DEFAULT" /> |
| 62 | <data android:scheme="file" /> |
| 63 | <data android:scheme="package" /> |
| 64 | <data android:scheme="content" /> |
| 65 | </intent-filter> |
| 66 | <intent-filter android:priority="1"> |
| 67 | <action android:name="android.content.pm.action.CONFIRM_INSTALL" /> |
| 68 | <category android:name="android.intent.category.DEFAULT" /> |
| 69 | </intent-filter> |
| 70 | </activity> |
| 71 | |
| 72 | <activity android:name=".InstallStaging" |
| 73 | android:exported="false" /> |
| 74 | |
| 75 | <activity android:name=".DeleteStagedFileOnResult" |
| 76 | android:exported="false" /> |
| 77 | |
| 78 | <activity android:name=".PackageInstallerActivity" |
| 79 | android:exported="false" /> |
| 80 | |
| 81 | <activity android:name=".InstallInstalling" |
| 82 | android:theme="@style/DialogWhenLargeNoAnimation" |
| 83 | android:exported="false" /> |
| 84 | |
| 85 | <receiver android:name=".InstallEventReceiver" |
| 86 | android:permission="android.permission.INSTALL_PACKAGES" |
| 87 | android:exported="true"> |
| 88 | <intent-filter android:priority="1"> |
| 89 | <action android:name="com.android.packageinstaller.ACTION_INSTALL_COMMIT" /> |
| 90 | </intent-filter> |
| 91 | </receiver> |
| 92 | |
| 93 | <activity android:name=".InstallSuccess" |
| 94 | android:theme="@style/DialogWhenLargeNoAnimation" |
| 95 | android:exported="false" /> |
| 96 | |
| 97 | <activity android:name=".InstallFailed" |
| 98 | android:theme="@style/DialogWhenLargeNoAnimation" |
| 99 | android:exported="false" /> |
| 100 | |
| 101 | <activity android:name=".UninstallerActivity" |
| 102 | android:configChanges="orientation|keyboardHidden|screenSize" |
| 103 | android:excludeFromRecents="true" |
| 104 | android:noHistory="true" |
| 105 | android:theme="@style/AlertDialogActivity"> |
| 106 | <intent-filter android:priority="1"> |
| 107 | <action android:name="android.intent.action.DELETE" /> |
| 108 | <action android:name="android.intent.action.UNINSTALL_PACKAGE" /> |
| 109 | <category android:name="android.intent.category.DEFAULT" /> |
| 110 | <data android:scheme="package" /> |
| 111 | </intent-filter> |
| 112 | </activity> |
| 113 | |
| 114 | <receiver android:name=".UninstallEventReceiver" |
| 115 | android:permission="android.permission.INSTALL_PACKAGES" |
| 116 | android:exported="true"> |
| 117 | <intent-filter android:priority="1"> |
| 118 | <action android:name="com.android.packageinstaller.ACTION_UNINSTALL_COMMIT" /> |
| 119 | </intent-filter> |
| 120 | </receiver> |
| 121 | |
| 122 | <activity android:name=".UninstallUninstalling" |
| 123 | android:excludeFromRecents="true" |
| 124 | android:theme="@style/AlertDialogActivity" |
| 125 | android:exported="false" /> |
| 126 | |
| 127 | <receiver android:name=".UninstallFinish" |
| 128 | android:exported="false" /> |
| 129 | |
| 130 | <activity android:name=".television.UninstallAppProgress" |
| 131 | android:configChanges="mnc|mnc|touchscreen|navigation|screenLayout|screenSize|smallestScreenSize|orientation|locale|keyboard|keyboardHidden|fontScale|uiMode|layoutDirection|density" |
| 132 | android:exported="false" /> |
| 133 | |
| 134 | <activity android:name=".permission.ui.GrantPermissionsActivity" |
| 135 | android:configChanges="keyboardHidden|screenSize" |
| 136 | android:excludeFromRecents="true" |
| 137 | android:theme="@style/GrantPermissions" |
| 138 | android:visibleToInstantApps="true"> |
| 139 | <intent-filter android:priority="1"> |
| 140 | <action android:name="android.content.pm.action.REQUEST_PERMISSIONS" /> |
| 141 | <category android:name="android.intent.category.DEFAULT" /> |
| 142 | </intent-filter> |
| 143 | </activity> |
| 144 | |
| 145 | <activity android:name=".permission.ui.ManagePermissionsActivity" |
| 146 | android:configChanges="orientation|keyboardHidden|screenSize" |
| 147 | android:label="@string/app_permissions" |
| 148 | android:theme="@style/Settings" |
| 149 | android:permission="android.permission.GRANT_RUNTIME_PERMISSIONS"> |
| 150 | <intent-filter android:priority="1"> |
| 151 | <action android:name="android.intent.action.MANAGE_PERMISSIONS" /> |
| 152 | <action android:name="android.intent.action.MANAGE_APP_PERMISSIONS" /> |
| 153 | <action android:name="android.intent.action.MANAGE_PERMISSION_APPS" /> |
| 154 | <category android:name="android.intent.category.DEFAULT" /> |
| 155 | </intent-filter> |
| 156 | </activity> |
| 157 | |
| 158 | <activity android:name=".permission.ui.ReviewPermissionsActivity" |
| 159 | android:excludeFromRecents="true" |
| 160 | android:theme="@style/Settings.NoActionBar" |
| 161 | android:permission="android.permission.GRANT_RUNTIME_PERMISSIONS"> |
| 162 | <intent-filter android:priority="1"> |
| 163 | <action android:name="android.intent.action.REVIEW_PERMISSIONS" /> |
| 164 | <category android:name="android.intent.category.DEFAULT" /> |
| 165 | </intent-filter> |
| 166 | </activity> |
| 167 | |
| 168 | <activity android:name=".permission.ui.OverlayWarningDialog" |
| 169 | android:excludeFromRecents="true" |
| 170 | android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar" /> |
| 171 | |
| 172 | <!-- Wearable Components --> |
| 173 | <service android:name=".wear.WearPackageInstallerService" |
| 174 | android:permission="com.google.android.permission.INSTALL_WEARABLE_PACKAGES" |
| 175 | android:exported="true"/> |
| 176 | |
| 177 | <service android:name=".permission.service.RuntimePermissionPresenterServiceImpl" |
| 178 | android:permission="android.permission.BIND_RUNTIME_PERMISSION_PRESENTER_SERVICE"> |
| 179 | <intent-filter android:priority="1"> |
| 180 | <action android:name="android.permissionpresenterservice.RuntimePermissionPresenterService"/> |
| 181 | </intent-filter> |
| 182 | </service> |
| 183 | |
| 184 | <provider android:name=".wear.WearPackageIconProvider" |
| 185 | android:authorities="com.google.android.packageinstaller.wear.provider" |
| 186 | android:grantUriPermissions="true" |
| 187 | android:exported="true" /> |
| 188 | </application> |
| 189 | |
| 190 | </manifest> |