• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.WAKE_LOCK" />
21    <uses-permission android:name="android.permission.KILL_UID" />
22    <uses-permission android:name="android.permission.MANAGE_APP_OPS_RESTRICTIONS" />
23    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
24    <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS" />
25
26    <uses-permission android:name="com.google.android.permission.INSTALL_WEARABLE_PACKAGES" />
27
28    <uses-permission android:name="android.permission.ACCESS_INSTANT_APPS" />
29
30    <application android:label="@string/app_name"
31            android:allowBackup="false"
32            android:theme="@style/DialogWhenLarge"
33            android:supportsRtl="true"
34            android:defaultToDeviceProtectedStorage="true"
35            android:directBootAware="true">
36
37        <receiver android:name=".TemporaryFileManager"
38            android:exported="true">
39            <intent-filter>
40                <action android:name="android.intent.action.BOOT_COMPLETED" />
41            </intent-filter>
42        </receiver>
43
44        <activity android:name=".InstallStart"
45                android:exported="true"
46                android:excludeFromRecents="true">
47            <intent-filter android:priority="1">
48                <action android:name="android.intent.action.VIEW" />
49                <action android:name="android.intent.action.INSTALL_PACKAGE" />
50                <category android:name="android.intent.category.DEFAULT" />
51                <data android:scheme="file" />
52                <data android:scheme="content" />
53                <data android:mimeType="application/vnd.android.package-archive" />
54            </intent-filter>
55            <intent-filter android:priority="1">
56                <action android:name="android.intent.action.INSTALL_PACKAGE" />
57                <category android:name="android.intent.category.DEFAULT" />
58                <data android:scheme="file" />
59                <data android:scheme="package" />
60                <data android:scheme="content" />
61            </intent-filter>
62            <intent-filter android:priority="1">
63                <action android:name="android.content.pm.action.CONFIRM_PERMISSIONS" />
64                <category android:name="android.intent.category.DEFAULT" />
65            </intent-filter>
66        </activity>
67
68        <activity android:name=".InstallStaging"
69                android:exported="false" />
70
71        <activity android:name=".PackageInstallerActivity"
72                android:exported="false" />
73
74        <activity android:name=".InstallInstalling"
75                android:theme="@style/DialogWhenLargeNoAnimation"
76                android:exported="false" />
77
78        <receiver android:name=".InstallEventReceiver"
79                android:permission="android.permission.INSTALL_PACKAGES"
80                android:exported="true">
81            <intent-filter android:priority="1">
82                <action android:name="com.android.packageinstaller.ACTION_INSTALL_COMMIT" />
83            </intent-filter>
84        </receiver>
85
86        <activity android:name=".InstallSuccess"
87                android:theme="@style/DialogWhenLargeNoAnimation"
88                android:exported="false" />
89
90        <activity android:name=".InstallFailed"
91                android:theme="@style/DialogWhenLargeNoAnimation"
92                android:exported="false" />
93
94        <activity android:name=".UninstallerActivity"
95                android:configChanges="orientation|keyboardHidden|screenSize"
96                android:excludeFromRecents="true"
97                android:theme="@style/AlertDialogActivity">
98            <intent-filter android:priority="1">
99                <action android:name="android.intent.action.DELETE" />
100                <action android:name="android.intent.action.UNINSTALL_PACKAGE" />
101                <category android:name="android.intent.category.DEFAULT" />
102                <data android:scheme="package" />
103            </intent-filter>
104        </activity>
105
106        <receiver android:name=".UninstallEventReceiver"
107            android:permission="android.permission.INSTALL_PACKAGES"
108            android:exported="true">
109            <intent-filter android:priority="1">
110                <action android:name="com.android.packageinstaller.ACTION_UNINSTALL_COMMIT" />
111            </intent-filter>
112        </receiver>
113
114        <activity android:name=".UninstallUninstalling"
115            android:excludeFromRecents="true"
116            android:theme="@style/AlertDialogActivity"
117            android:exported="false" />
118
119        <receiver android:name=".UninstallFinish"
120                android:exported="false" />
121
122        <activity android:name=".television.UninstallAppProgress"
123                android:configChanges="mnc|mnc|touchscreen|navigation|screenLayout|screenSize|smallestScreenSize|orientation|locale|keyboard|keyboardHidden|fontScale|uiMode|layoutDirection|density"
124                android:exported="false" />
125
126        <activity android:name=".permission.ui.GrantPermissionsActivity"
127                android:configChanges="orientation|keyboardHidden|screenSize"
128                android:excludeFromRecents="true"
129                android:theme="@style/GrantPermissions"
130                android:visibleToInstantApps="true">
131            <intent-filter android:priority="1">
132                <action android:name="android.content.pm.action.REQUEST_PERMISSIONS" />
133                <category android:name="android.intent.category.DEFAULT" />
134            </intent-filter>
135        </activity>
136
137        <activity android:name=".permission.ui.ManagePermissionsActivity"
138                  android:configChanges="orientation|keyboardHidden|screenSize"
139                  android:excludeFromRecents="true"
140                  android:label="@string/app_permissions"
141                  android:theme="@style/Settings"
142                  android:permission="android.permission.GRANT_RUNTIME_PERMISSIONS">
143            <intent-filter android:priority="1">
144                <action android:name="android.intent.action.MANAGE_PERMISSIONS" />
145                <action android:name="android.intent.action.MANAGE_APP_PERMISSIONS" />
146                <action android:name="android.intent.action.MANAGE_PERMISSION_APPS" />
147                <category android:name="android.intent.category.DEFAULT" />
148            </intent-filter>
149        </activity>
150
151        <activity android:name=".permission.ui.ReviewPermissionsActivity"
152                  android:excludeFromRecents="true"
153                  android:theme="@style/Settings.NoActionBar"
154                  android:permission="android.permission.GRANT_RUNTIME_PERMISSIONS">
155            <intent-filter android:priority="1">
156                <action android:name="android.intent.action.REVIEW_PERMISSIONS" />
157                <category android:name="android.intent.category.DEFAULT" />
158            </intent-filter>
159        </activity>
160
161        <activity android:name=".permission.ui.OverlayWarningDialog"
162                android:excludeFromRecents="true"
163                android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar" />
164
165        <!-- Wearable Components -->
166        <service android:name=".wear.WearPackageInstallerService"
167                 android:permission="com.google.android.permission.INSTALL_WEARABLE_PACKAGES"
168                 android:exported="true"/>
169
170        <service android:name=".permission.service.RuntimePermissionPresenterServiceImpl"
171                 android:permission="android.permission.BIND_RUNTIME_PERMISSION_PRESENTER_SERVICE">
172            <intent-filter android:priority="1">
173                <action android:name="android.permissionpresenterservice.RuntimePermissionPresenterService"/>
174            </intent-filter>
175        </service>
176
177        <provider android:name=".wear.WearPackageIconProvider"
178                  android:authorities="com.google.android.packageinstaller.wear.provider"
179                  android:grantUriPermissions="true"
180                  android:exported="true" />
181
182        <activity android:name=".permission.ui.wear.WarningConfirmationActivity"
183                  android:permission="android.permission.GRANT_RUNTIME_PERMISSIONS"
184                  android:theme="@style/Settings"/>
185    </application>
186
187</manifest>
188