xref: /aosp_15_r20/frameworks/base/packages/PackageInstaller/AndroidManifest.xml (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1*d57664e9SAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?>
2*d57664e9SAndroid Build Coastguard Worker<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3*d57664e9SAndroid Build Coastguard Worker          xmlns:tools="http://schemas.android.com/tools"
4*d57664e9SAndroid Build Coastguard Worker          package="com.android.packageinstaller">
5*d57664e9SAndroid Build Coastguard Worker
6*d57664e9SAndroid Build Coastguard Worker    <original-package android:name="com.android.packageinstaller" />
7*d57664e9SAndroid Build Coastguard Worker
8*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.MANAGE_USERS" />
9*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.INSTALL_PACKAGES" />
10*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.DELETE_PACKAGES" />
11*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.READ_INSTALL_SESSIONS" />
12*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.READ_INSTALLED_SESSION_PATHS" />
13*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.WAKE_LOCK" />
14*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
15*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS" />
16*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.USE_RESERVED_DISK" />
17*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" />
18*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.MANAGE_APP_OPS_MODES" />
19*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
20*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" />
21*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
22*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
23*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
24*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
25*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SYSTEM_EXEMPTED" />
26*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.READ_SYSTEM_GRAMMATICAL_GENDER" />
27*d57664e9SAndroid Build Coastguard Worker
28*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="com.google.android.permission.INSTALL_WEARABLE_PACKAGES" />
29*d57664e9SAndroid Build Coastguard Worker
30*d57664e9SAndroid Build Coastguard Worker    <application android:name=".PackageInstallerApplication"
31*d57664e9SAndroid Build Coastguard Worker            android:label="@string/app_name"
32*d57664e9SAndroid Build Coastguard Worker            android:icon="@drawable/ic_app_icon"
33*d57664e9SAndroid Build Coastguard Worker            android:allowBackup="false"
34*d57664e9SAndroid Build Coastguard Worker            android:theme="@style/Theme.AlertDialogActivity"
35*d57664e9SAndroid Build Coastguard Worker            android:supportsRtl="true"
36*d57664e9SAndroid Build Coastguard Worker            android:defaultToDeviceProtectedStorage="true"
37*d57664e9SAndroid Build Coastguard Worker            android:forceQueryable="true"
38*d57664e9SAndroid Build Coastguard Worker            android:directBootAware="true">
39*d57664e9SAndroid Build Coastguard Worker
40*d57664e9SAndroid Build Coastguard Worker        <receiver android:name=".common.TemporaryFileManager"
41*d57664e9SAndroid Build Coastguard Worker            android:exported="false">
42*d57664e9SAndroid Build Coastguard Worker            <intent-filter>
43*d57664e9SAndroid Build Coastguard Worker                <action android:name="android.intent.action.BOOT_COMPLETED" />
44*d57664e9SAndroid Build Coastguard Worker            </intent-filter>
45*d57664e9SAndroid Build Coastguard Worker        </receiver>
46*d57664e9SAndroid Build Coastguard Worker
47*d57664e9SAndroid Build Coastguard Worker        <activity android:name=".v2.ui.InstallLaunch"
48*d57664e9SAndroid Build Coastguard Worker            android:configChanges="orientation|keyboardHidden|screenSize"
49*d57664e9SAndroid Build Coastguard Worker            android:exported="false"/>
50*d57664e9SAndroid Build Coastguard Worker
51*d57664e9SAndroid Build Coastguard Worker        <activity android:name=".InstallStart"
52*d57664e9SAndroid Build Coastguard Worker                android:exported="true"
53*d57664e9SAndroid Build Coastguard Worker                android:excludeFromRecents="true">
54*d57664e9SAndroid Build Coastguard Worker            <intent-filter android:priority="1">
55*d57664e9SAndroid Build Coastguard Worker                <action android:name="android.intent.action.VIEW" />
56*d57664e9SAndroid Build Coastguard Worker                <action android:name="android.intent.action.INSTALL_PACKAGE" />
57*d57664e9SAndroid Build Coastguard Worker                <category android:name="android.intent.category.DEFAULT" />
58*d57664e9SAndroid Build Coastguard Worker                <data android:scheme="content" />
59*d57664e9SAndroid Build Coastguard Worker                <data android:mimeType="application/vnd.android.package-archive" />
60*d57664e9SAndroid Build Coastguard Worker            </intent-filter>
61*d57664e9SAndroid Build Coastguard Worker            <intent-filter android:priority="1">
62*d57664e9SAndroid Build Coastguard Worker                <action android:name="android.intent.action.INSTALL_PACKAGE" />
63*d57664e9SAndroid Build Coastguard Worker                <category android:name="android.intent.category.DEFAULT" />
64*d57664e9SAndroid Build Coastguard Worker                <data android:scheme="package" />
65*d57664e9SAndroid Build Coastguard Worker                <data android:scheme="content" />
66*d57664e9SAndroid Build Coastguard Worker            </intent-filter>
67*d57664e9SAndroid Build Coastguard Worker            <intent-filter android:priority="1">
68*d57664e9SAndroid Build Coastguard Worker                <action android:name="android.content.pm.action.CONFIRM_INSTALL" />
69*d57664e9SAndroid Build Coastguard Worker                <category android:name="android.intent.category.DEFAULT" />
70*d57664e9SAndroid Build Coastguard Worker            </intent-filter>
71*d57664e9SAndroid Build Coastguard Worker            <intent-filter android:priority="1">
72*d57664e9SAndroid Build Coastguard Worker                <action android:name="android.content.pm.action.CONFIRM_PRE_APPROVAL" />
73*d57664e9SAndroid Build Coastguard Worker                <category android:name="android.intent.category.DEFAULT" />
74*d57664e9SAndroid Build Coastguard Worker            </intent-filter>
75*d57664e9SAndroid Build Coastguard Worker        </activity>
76*d57664e9SAndroid Build Coastguard Worker
77*d57664e9SAndroid Build Coastguard Worker        <activity android:name=".InstallStaging"
78*d57664e9SAndroid Build Coastguard Worker                android:exported="false" />
79*d57664e9SAndroid Build Coastguard Worker
80*d57664e9SAndroid Build Coastguard Worker        <activity android:name=".DeleteStagedFileOnResult"
81*d57664e9SAndroid Build Coastguard Worker            android:exported="false" />
82*d57664e9SAndroid Build Coastguard Worker
83*d57664e9SAndroid Build Coastguard Worker        <activity android:name=".PackageInstallerActivity"
84*d57664e9SAndroid Build Coastguard Worker                android:exported="false"
85*d57664e9SAndroid Build Coastguard Worker                android:enableOnBackInvokedCallback="false" />
86*d57664e9SAndroid Build Coastguard Worker
87*d57664e9SAndroid Build Coastguard Worker        <activity android:name=".InstallInstalling"
88*d57664e9SAndroid Build Coastguard Worker                android:exported="false"
89*d57664e9SAndroid Build Coastguard Worker                android:enableOnBackInvokedCallback="false" />
90*d57664e9SAndroid Build Coastguard Worker
91*d57664e9SAndroid Build Coastguard Worker        <receiver android:name=".common.InstallEventReceiver"
92*d57664e9SAndroid Build Coastguard Worker                android:permission="android.permission.INSTALL_PACKAGES"
93*d57664e9SAndroid Build Coastguard Worker                android:exported="false">
94*d57664e9SAndroid Build Coastguard Worker            <intent-filter android:priority="1">
95*d57664e9SAndroid Build Coastguard Worker                <action android:name="com.android.packageinstaller.ACTION_INSTALL_COMMIT" />
96*d57664e9SAndroid Build Coastguard Worker            </intent-filter>
97*d57664e9SAndroid Build Coastguard Worker        </receiver>
98*d57664e9SAndroid Build Coastguard Worker
99*d57664e9SAndroid Build Coastguard Worker        <activity android:name=".InstallSuccess"
100*d57664e9SAndroid Build Coastguard Worker                android:exported="false" />
101*d57664e9SAndroid Build Coastguard Worker
102*d57664e9SAndroid Build Coastguard Worker        <activity android:name=".InstallFailed"
103*d57664e9SAndroid Build Coastguard Worker                android:exported="false" />
104*d57664e9SAndroid Build Coastguard Worker
105*d57664e9SAndroid Build Coastguard Worker        <activity android:name=".UninstallerActivity"
106*d57664e9SAndroid Build Coastguard Worker                android:configChanges="orientation|keyboardHidden|screenSize"
107*d57664e9SAndroid Build Coastguard Worker                android:excludeFromRecents="true"
108*d57664e9SAndroid Build Coastguard Worker                android:noHistory="true"
109*d57664e9SAndroid Build Coastguard Worker                android:exported="true">
110*d57664e9SAndroid Build Coastguard Worker            <intent-filter android:priority="1">
111*d57664e9SAndroid Build Coastguard Worker                <action android:name="android.intent.action.DELETE" />
112*d57664e9SAndroid Build Coastguard Worker                <action android:name="android.intent.action.UNINSTALL_PACKAGE" />
113*d57664e9SAndroid Build Coastguard Worker                <category android:name="android.intent.category.DEFAULT" />
114*d57664e9SAndroid Build Coastguard Worker                <data android:scheme="package" />
115*d57664e9SAndroid Build Coastguard Worker            </intent-filter>
116*d57664e9SAndroid Build Coastguard Worker        </activity>
117*d57664e9SAndroid Build Coastguard Worker
118*d57664e9SAndroid Build Coastguard Worker        <activity android:name=".v2.ui.UninstallLaunch"
119*d57664e9SAndroid Build Coastguard Worker            android:configChanges="orientation|keyboardHidden|screenSize"
120*d57664e9SAndroid Build Coastguard Worker            android:excludeFromRecents="true"
121*d57664e9SAndroid Build Coastguard Worker            android:noHistory="true"
122*d57664e9SAndroid Build Coastguard Worker            android:exported="false">
123*d57664e9SAndroid Build Coastguard Worker        </activity>
124*d57664e9SAndroid Build Coastguard Worker
125*d57664e9SAndroid Build Coastguard Worker        <receiver android:name=".common.UninstallEventReceiver"
126*d57664e9SAndroid Build Coastguard Worker            android:permission="android.permission.INSTALL_PACKAGES"
127*d57664e9SAndroid Build Coastguard Worker            android:exported="false">
128*d57664e9SAndroid Build Coastguard Worker            <intent-filter android:priority="1">
129*d57664e9SAndroid Build Coastguard Worker                <action android:name="com.android.packageinstaller.ACTION_UNINSTALL_COMMIT" />
130*d57664e9SAndroid Build Coastguard Worker            </intent-filter>
131*d57664e9SAndroid Build Coastguard Worker        </receiver>
132*d57664e9SAndroid Build Coastguard Worker
133*d57664e9SAndroid Build Coastguard Worker        <receiver android:name=".PackageInstalledReceiver"
134*d57664e9SAndroid Build Coastguard Worker                android:exported="false">
135*d57664e9SAndroid Build Coastguard Worker            <intent-filter android:priority="1">
136*d57664e9SAndroid Build Coastguard Worker                <action android:name="android.intent.action.PACKAGE_ADDED" />
137*d57664e9SAndroid Build Coastguard Worker                <data android:scheme="package" />
138*d57664e9SAndroid Build Coastguard Worker            </intent-filter>
139*d57664e9SAndroid Build Coastguard Worker        </receiver>
140*d57664e9SAndroid Build Coastguard Worker
141*d57664e9SAndroid Build Coastguard Worker        <activity android:name=".UninstallUninstalling"
142*d57664e9SAndroid Build Coastguard Worker            android:excludeFromRecents="true"
143*d57664e9SAndroid Build Coastguard Worker            android:enableOnBackInvokedCallback="false"
144*d57664e9SAndroid Build Coastguard Worker            android:exported="false" />
145*d57664e9SAndroid Build Coastguard Worker
146*d57664e9SAndroid Build Coastguard Worker        <receiver android:name=".UninstallFinish"
147*d57664e9SAndroid Build Coastguard Worker                android:exported="false" />
148*d57664e9SAndroid Build Coastguard Worker
149*d57664e9SAndroid Build Coastguard Worker        <activity android:name=".television.UninstallAppProgress"
150*d57664e9SAndroid Build Coastguard Worker                android:configChanges="mnc|mnc|touchscreen|navigation|screenLayout|screenSize|smallestScreenSize|orientation|locale|keyboard|keyboardHidden|fontScale|uiMode|layoutDirection|density"
151*d57664e9SAndroid Build Coastguard Worker                android:exported="false" />
152*d57664e9SAndroid Build Coastguard Worker
153*d57664e9SAndroid Build Coastguard Worker        <receiver android:name="androidx.profileinstaller.ProfileInstallReceiver"
154*d57664e9SAndroid Build Coastguard Worker            tools:node="remove" />
155*d57664e9SAndroid Build Coastguard Worker
156*d57664e9SAndroid Build Coastguard Worker        <activity android:name=".UnarchiveActivity"
157*d57664e9SAndroid Build Coastguard Worker                  android:configChanges="orientation|keyboardHidden|screenSize"
158*d57664e9SAndroid Build Coastguard Worker                  android:excludeFromRecents="true"
159*d57664e9SAndroid Build Coastguard Worker                  android:noHistory="true"
160*d57664e9SAndroid Build Coastguard Worker                  android:exported="true">
161*d57664e9SAndroid Build Coastguard Worker            <intent-filter android:priority="1">
162*d57664e9SAndroid Build Coastguard Worker                <action android:name="com.android.intent.action.UNARCHIVE_DIALOG" />
163*d57664e9SAndroid Build Coastguard Worker                <category android:name="android.intent.category.DEFAULT" />
164*d57664e9SAndroid Build Coastguard Worker            </intent-filter>
165*d57664e9SAndroid Build Coastguard Worker        </activity>
166*d57664e9SAndroid Build Coastguard Worker
167*d57664e9SAndroid Build Coastguard Worker        <activity android:name=".UnarchiveErrorActivity"
168*d57664e9SAndroid Build Coastguard Worker                  android:configChanges="orientation|keyboardHidden|screenSize"
169*d57664e9SAndroid Build Coastguard Worker                  android:excludeFromRecents="true"
170*d57664e9SAndroid Build Coastguard Worker                  android:noHistory="true"
171*d57664e9SAndroid Build Coastguard Worker                  android:exported="true">
172*d57664e9SAndroid Build Coastguard Worker            <intent-filter android:priority="1">
173*d57664e9SAndroid Build Coastguard Worker                <action android:name="com.android.intent.action.UNARCHIVE_ERROR_DIALOG" />
174*d57664e9SAndroid Build Coastguard Worker                <category android:name="android.intent.category.DEFAULT" />
175*d57664e9SAndroid Build Coastguard Worker            </intent-filter>
176*d57664e9SAndroid Build Coastguard Worker        </activity>
177*d57664e9SAndroid Build Coastguard Worker    </application>
178*d57664e9SAndroid Build Coastguard Worker
179*d57664e9SAndroid Build Coastguard Worker</manifest>
180