1<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2        package="com.android.certinstaller">
3
4    <original-package android:name="com.android.certinstaller" />
5
6    <permission android:name="com.android.certinstaller.INSTALL_AS_USER"
7                android:protectionLevel="signature" />
8    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
9    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
10    <uses-permission android:name="android.permission.MANAGE_USERS" />
11    <uses-permission android:name="android.permission.ACCESS_ALL_DOWNLOADS" />
12
13    <application android:label="@string/app_name"
14                 android:allowBackup="false">
15        <activity android:name=".CertInstallerMain"
16                  android:theme="@style/Transparent"
17                  android:configChanges="orientation|keyboardHidden|screenSize">
18            <intent-filter>
19                <action android:name="android.credentials.INSTALL" />
20                <category android:name="android.intent.category.DEFAULT" />
21            </intent-filter>
22            <intent-filter>
23                <action android:name="android.intent.action.VIEW" />
24                <category android:name="android.intent.category.DEFAULT" />
25                <data android:mimeType="application/x-x509-ca-cert" />
26                <data android:mimeType="application/x-x509-user-cert" />
27                <data android:mimeType="application/x-x509-server-cert" />
28                <data android:mimeType="application/x-pkcs12" />
29                <data android:mimeType="application/application/x-pem-file" />
30                <data android:mimeType="application/pkix-cert" />
31                <data android:mimeType="application/x-wifi-config" />
32            </intent-filter>
33        </activity>
34
35        <activity-alias android:name=".InstallCertAsUser"
36                        android:targetActivity=".CertInstallerMain"
37                        android:permission="com.android.certinstaller.INSTALL_AS_USER">
38            <intent-filter>
39                <action android:name="android.credentials.INSTALL_AS_USER" />
40                <category android:name="android.intent.category.DEFAULT" />
41            </intent-filter>
42        </activity-alias>
43
44        <activity android:name=".CertInstaller"
45                  android:theme="@style/Transparent"
46                  android:configChanges="orientation|keyboardHidden"
47                  android:exported="false">
48        </activity>
49        <activity android:name=".WiFiInstaller"
50                  android:theme="@style/Transparent"
51                  android:configChanges="orientation|keyboardHidden"
52                  android:exported="false">
53        </activity>
54        <activity android:name=".CredentialsInstallDialog"
55                  android:theme="@style/Transparent"
56                  android:configChanges="orientation|keyboardHidden"
57                  android:exported="false">
58        </activity>
59    </application>
60</manifest>
61