• 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          xmlns:tools="http://schemas.android.com/tools"
4          package="com.android.keychain"
5          android:sharedUserId="android.uid.system"
6          >
7    <!-- Needed so KeyChainService on non-system user can write
8         security logging events -->
9    <uses-permission android:name="android.permission.READ_LOGS"/>
10    <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS"/>
11
12    <application android:label="@string/app_name"
13            android:allowBackup="false"
14            android:usesCleartextTraffic="false"
15            android:enableOnBackInvokedCallback="false"
16            android:theme="@android:style/Theme.DeviceDefault.DayNight">
17        <service android:name="com.android.keychain.KeyChainService"
18            android:exported="true">
19            <intent-filter>
20                <action android:name="android.security.IKeyChainService"/>
21            </intent-filter>
22        </service>
23        <activity android:name="com.android.keychain.KeyChainActivity"
24                  android:exported="true"
25                  android:theme="@style/KeyChainTransparent"
26                  android:launchMode="singleTop"
27		  android:excludeFromRecents="true">
28	    <intent-filter>
29	        <action android:name="com.android.keychain.CHOOSER"/>
30                <category android:name="android.intent.category.DEFAULT"/>
31            </intent-filter>
32        </activity>
33
34        <!-- Disable eager initialization of Jetpack libraries to avoid crash. -->
35        <provider
36            android:name="androidx.startup.InitializationProvider"
37            android:authorities="${applicationId}.androidx-startup"
38            tools:node="remove" />
39    </application>
40</manifest>
41