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
12    <application android:label="@string/app_name"
13                 android:allowBackup="false">
14        <activity android:name=".CertInstallerMain"
15                  android:theme="@style/Transparent"
16                  android:configChanges="orientation|keyboardHidden|screenSize">
17            <intent-filter>
18                <action android:name="android.credentials.INSTALL" />
19                <category android:name="android.intent.category.DEFAULT" />
20            </intent-filter>
21            <intent-filter>
22                <action android:name="android.intent.action.VIEW" />
23                <category android:name="android.intent.category.DEFAULT" />
24                <data android:mimeType="application/x-x509-ca-cert" />
25                <data android:mimeType="application/x-x509-user-cert" />
26                <data android:mimeType="application/x-x509-server-cert" />
27                <data android:mimeType="application/x-pkcs12" />
28                <data android:mimeType="application/application/x-pem-file" />
29                <data android:mimeType="application/pkix-cert" />
30                <data android:mimeType="application/x-wifi-config" />
31            </intent-filter>
32        </activity>
33
34        <activity-alias android:name=".InstallCertAsUser"
35                        android:targetActivity=".CertInstallerMain"
36                        android:permission="com.android.certinstaller.INSTALL_AS_USER">
37            <intent-filter>
38                <action android:name="android.credentials.INSTALL_AS_USER" />
39                <category android:name="android.intent.category.DEFAULT" />
40            </intent-filter>
41        </activity-alias>
42
43        <activity android:name=".CertInstaller"
44                  android:theme="@style/Transparent"
45                  android:configChanges="orientation|keyboardHidden"
46                  android:exported="false">
47        </activity>
48        <activity android:name=".WiFiInstaller"
49                  android:theme="@style/Transparent"
50                  android:configChanges="orientation|keyboardHidden"
51                  android:exported="false">
52        </activity>
53        <activity android:name=".CredentialsInstallDialog"
54                  android:theme="@style/Transparent"
55                  android:configChanges="orientation|keyboardHidden"
56                  android:exported="false">
57        </activity>
58    </application>
59</manifest>
60