Cotton code
33 lines · 1.7 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">    <application android:name="com.cottondb.notes.NotesApplication"        android:allowBackup="true"        android:fullBackupContent="@xml/backup_rules"        android:dataExtractionRules="@xml/data_extraction_rules"        tools:replace="android:allowBackup">        <!-- singleTask: words shared while the app is open come to the one activity (onNewIntent), never a second deck. -->        <activity            android:name="com.cottondb.notes.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>            <!-- The share sheet (the shell's ShareIntake): words, or a text file, become a note as the core says. -->            <intent-filter>                <action android:name="android.intent.action.SEND" />                <category android:name="android.intent.category.DEFAULT" />                <data android:mimeType="text/*" />            </intent-filter>            <intent-filter>                <action android:name="android.intent.action.SEND_MULTIPLE" />                <category android:name="android.intent.category.DEFAULT" />                <data android:mimeType="text/*" />            </intent-filter>        </activity>    </application></manifest>