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" |
Philip P. Moltmann | 8943ad6 | 2018-07-25 12:12:30 -0700 | [diff] [blame] | 3 | package="com.android.packageinstaller"> |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 4 | |
Philip P. Moltmann | d26ef69 | 2018-11-13 15:51:45 -0800 | [diff] [blame] | 5 | <original-package android:name="com.android.packageinstaller" /> |
| 6 | |
Philip P. Moltmann | 8943ad6 | 2018-07-25 12:12:30 -0700 | [diff] [blame] | 7 | <uses-permission android:name="android.permission.MANAGE_USERS" /> |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 8 | <uses-permission android:name="android.permission.INSTALL_PACKAGES" /> |
| 9 | <uses-permission android:name="android.permission.DELETE_PACKAGES" /> |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 10 | <uses-permission android:name="android.permission.READ_INSTALL_SESSIONS" /> |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 11 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| 12 | <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS" /> |
| 13 | <uses-permission android:name="android.permission.USE_RESERVED_DISK" /> |
Philip P. Moltmann | 8943ad6 | 2018-07-25 12:12:30 -0700 | [diff] [blame] | 14 | <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" /> |
| 15 | <uses-permission android:name="android.permission.MANAGE_APP_OPS_MODES" /> |
| 16 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> |
Ricky Wai | c5ea08b | 2018-09-05 20:55:11 +0100 | [diff] [blame] | 17 | <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" /> |
Philip P. Moltmann | ae4a4b9 | 2018-12-12 11:28:57 -0800 | [diff] [blame] | 18 | <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" /> |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 19 | |
| 20 | <uses-permission android:name="com.google.android.permission.INSTALL_WEARABLE_PACKAGES" /> |
| 21 | |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 22 | <application android:name=".PackageInstallerApplication" |
| 23 | android:label="@string/app_name" |
Philip P. Moltmann | f4bb584 | 2018-08-01 11:47:44 -0700 | [diff] [blame] | 24 | android:icon="@drawable/ic_app_icon" |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 25 | android:allowBackup="false" |
Philip P. Moltmann | d25ec87 | 2018-08-02 12:12:55 -0700 | [diff] [blame] | 26 | android:theme="@style/Theme.AlertDialogActivity" |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 27 | android:supportsRtl="true" |
| 28 | android:defaultToDeviceProtectedStorage="true" |
| 29 | android:directBootAware="true"> |
| 30 | |
| 31 | <receiver android:name=".TemporaryFileManager" |
| 32 | android:exported="true"> |
| 33 | <intent-filter> |
| 34 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 35 | </intent-filter> |
| 36 | </receiver> |
| 37 | |
| 38 | <activity android:name=".InstallStart" |
Philip P. Moltmann | d25ec87 | 2018-08-02 12:12:55 -0700 | [diff] [blame] | 39 | android:theme="@android:style/Theme.Translucent.NoTitleBar" |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 40 | android:exported="true" |
| 41 | android:excludeFromRecents="true"> |
| 42 | <intent-filter android:priority="1"> |
| 43 | <action android:name="android.intent.action.VIEW" /> |
| 44 | <action android:name="android.intent.action.INSTALL_PACKAGE" /> |
| 45 | <category android:name="android.intent.category.DEFAULT" /> |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 46 | <data android:scheme="content" /> |
| 47 | <data android:mimeType="application/vnd.android.package-archive" /> |
| 48 | </intent-filter> |
| 49 | <intent-filter android:priority="1"> |
| 50 | <action android:name="android.intent.action.INSTALL_PACKAGE" /> |
| 51 | <category android:name="android.intent.category.DEFAULT" /> |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 52 | <data android:scheme="package" /> |
| 53 | <data android:scheme="content" /> |
| 54 | </intent-filter> |
| 55 | <intent-filter android:priority="1"> |
| 56 | <action android:name="android.content.pm.action.CONFIRM_INSTALL" /> |
| 57 | <category android:name="android.intent.category.DEFAULT" /> |
| 58 | </intent-filter> |
| 59 | </activity> |
| 60 | |
| 61 | <activity android:name=".InstallStaging" |
| 62 | android:exported="false" /> |
| 63 | |
| 64 | <activity android:name=".DeleteStagedFileOnResult" |
Philip P. Moltmann | d25ec87 | 2018-08-02 12:12:55 -0700 | [diff] [blame] | 65 | android:theme="@android:style/Theme.Translucent.NoTitleBar" |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 66 | android:exported="false" /> |
| 67 | |
| 68 | <activity android:name=".PackageInstallerActivity" |
| 69 | android:exported="false" /> |
| 70 | |
| 71 | <activity android:name=".InstallInstalling" |
Philip P. Moltmann | d25ec87 | 2018-08-02 12:12:55 -0700 | [diff] [blame] | 72 | android:theme="@style/Theme.AlertDialogActivity.NoAnimation" |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 73 | android:exported="false" /> |
| 74 | |
| 75 | <receiver android:name=".InstallEventReceiver" |
| 76 | android:permission="android.permission.INSTALL_PACKAGES" |
| 77 | android:exported="true"> |
| 78 | <intent-filter android:priority="1"> |
| 79 | <action android:name="com.android.packageinstaller.ACTION_INSTALL_COMMIT" /> |
| 80 | </intent-filter> |
| 81 | </receiver> |
| 82 | |
| 83 | <activity android:name=".InstallSuccess" |
Philip P. Moltmann | d25ec87 | 2018-08-02 12:12:55 -0700 | [diff] [blame] | 84 | android:theme="@style/Theme.AlertDialogActivity.NoAnimation" |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 85 | android:exported="false" /> |
| 86 | |
| 87 | <activity android:name=".InstallFailed" |
Philip P. Moltmann | d25ec87 | 2018-08-02 12:12:55 -0700 | [diff] [blame] | 88 | android:theme="@style/Theme.AlertDialogActivity.NoAnimation" |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 89 | android:exported="false" /> |
| 90 | |
| 91 | <activity android:name=".UninstallerActivity" |
| 92 | android:configChanges="orientation|keyboardHidden|screenSize" |
Evan Severson | eb89202 | 2019-03-19 16:03:58 -0700 | [diff] [blame] | 93 | android:theme="@style/Theme.AlertDialogActivity.NoActionBar" |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 94 | android:excludeFromRecents="true" |
Philip P. Moltmann | d25ec87 | 2018-08-02 12:12:55 -0700 | [diff] [blame] | 95 | android:noHistory="true"> |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 96 | <intent-filter android:priority="1"> |
| 97 | <action android:name="android.intent.action.DELETE" /> |
| 98 | <action android:name="android.intent.action.UNINSTALL_PACKAGE" /> |
| 99 | <category android:name="android.intent.category.DEFAULT" /> |
| 100 | <data android:scheme="package" /> |
| 101 | </intent-filter> |
| 102 | </activity> |
| 103 | |
| 104 | <receiver android:name=".UninstallEventReceiver" |
| 105 | android:permission="android.permission.INSTALL_PACKAGES" |
| 106 | android:exported="true"> |
| 107 | <intent-filter android:priority="1"> |
| 108 | <action android:name="com.android.packageinstaller.ACTION_UNINSTALL_COMMIT" /> |
| 109 | </intent-filter> |
| 110 | </receiver> |
| 111 | |
Ricky Wai | e740d34 | 2018-09-03 18:10:56 +0100 | [diff] [blame] | 112 | <receiver android:name=".PackageInstalledReceiver" |
| 113 | android:exported="true"> |
| 114 | <intent-filter android:priority="1"> |
| 115 | <action android:name="android.intent.action.PACKAGE_ADDED" /> |
| 116 | <data android:scheme="package" /> |
| 117 | </intent-filter> |
| 118 | </receiver> |
| 119 | |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 120 | <activity android:name=".UninstallUninstalling" |
| 121 | android:excludeFromRecents="true" |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 122 | android:exported="false" /> |
| 123 | |
| 124 | <receiver android:name=".UninstallFinish" |
| 125 | android:exported="false" /> |
| 126 | |
| 127 | <activity android:name=".television.UninstallAppProgress" |
| 128 | android:configChanges="mnc|mnc|touchscreen|navigation|screenLayout|screenSize|smallestScreenSize|orientation|locale|keyboard|keyboardHidden|fontScale|uiMode|layoutDirection|density" |
| 129 | android:exported="false" /> |
| 130 | |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 131 | <!-- Wearable Components --> |
| 132 | <service android:name=".wear.WearPackageInstallerService" |
| 133 | android:permission="com.google.android.permission.INSTALL_WEARABLE_PACKAGES" |
| 134 | android:exported="true"/> |
| 135 | |
Philip P. Moltmann | d85d941 | 2018-07-25 11:23:02 -0700 | [diff] [blame] | 136 | <provider android:name=".wear.WearPackageIconProvider" |
| 137 | android:authorities="com.google.android.packageinstaller.wear.provider" |
| 138 | android:grantUriPermissions="true" |
| 139 | android:exported="true" /> |
| 140 | </application> |
| 141 | |
| 142 | </manifest> |