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