Cotton code
66 lines · 3.6 KB · HTMLRaw
<?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android"    xmlns:tools="http://schemas.android.com/tools">    <!-- The site's Digital Asset Links, read when a native app asks for a passkey (KeysProviderActivity). -->    <uses-permission android:name="android.permission.INTERNET" />    <application android:name="com.cottondb.keys.KeysApplication"        android:allowBackup="true"        android:fullBackupContent="@xml/backup_rules"        android:dataExtractionRules="@xml/data_extraction_rules"        tools:replace="android:allowBackup">        <activity            android:name="com.cottondb.keys.MainActivity"            android:exported="true"            android:launchMode="singleTask"            android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize|keyboardHidden|uiMode|density|fontScale"            android:windowSoftInputMode="adjustResize">            <intent-filter>                <action android:name="android.intent.action.MAIN" />                <category android:name="android.intent.category.LAUNCHER" />            </intent-filter>        </activity>        <!-- Android's Credential Manager provider (Android 14, API 34, and up): only the system binds it. -->        <service            android:name="com.cottondb.keys.provider.KeysProviderService"            android:enabled="true"            android:exported="true"            android:icon="@mipmap/ic_launcher"            android:label="@string/app_name"            android:permission="android.permission.BIND_CREDENTIAL_PROVIDER_SERVICE"            tools:targetApi="upside_down_cake">            <intent-filter>                <action android:name="android.service.credentials.CredentialProviderService" />            </intent-filter>            <meta-data                android:name="android.credentials.provider"                android:resource="@xml/credential_provider" />        </service>        <!-- The person's choice in the system's sheet: the phone's lock, then the core makes, signs, fills or saves. -->        <activity            android:name="com.cottondb.keys.provider.KeysProviderActivity"            android:exported="false"            android:excludeFromRecents="true"            android:theme="@style/Theme.Cotton.Provider" />        <!-- Android's autofill service (every supported Android): passwords filled into other apps' sign-in forms and saved from them. Only the system binds it. -->        <service            android:name="com.cottondb.keys.autofill.KeysAutofillService"            android:exported="true"            android:label="@string/app_name"            android:permission="android.permission.BIND_AUTOFILL_SERVICE">            <intent-filter>                <action android:name="android.service.autofill.AutofillService" />            </intent-filter>            <meta-data                android:name="android.autofill"                android:resource="@xml/autofill_service" />        </service>        <!-- A locked fill picked, or Save on the system's sheet: the phone's lock, then the core reveals or keeps. -->        <activity            android:name="com.cottondb.keys.autofill.KeysAutofillActivity"            android:exported="false"            android:excludeFromRecents="true"            android:theme="@style/Theme.Cotton.Provider" />        <!-- Remind me tonight (a secret still known after a take back): the shell's reminder, posted at 8 pm. -->        <receiver android:name="com.cottondb.shell.ReminderReceiver" android:exported="false" />    </application></manifest>