AndroidManifest.xml

6.1 KB · raw

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">45    <uses-permission android:name="android.permission.INTERNET" />6    <!-- mDNS/NSD peer discovery for the C7 LAN sync transport -->7    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />8    <uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />9    <uses-permission android:name="android.permission.VIBRATE" />10    <uses-permission android:name="android.permission.USE_BIOMETRIC" />11    <uses-permission android:name="android.permission.RECORD_AUDIO" />12    <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />13    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />14    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />15    <!-- Android 14+ requires the specific type alongside the generic permission. -->16    <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />17    <uses-permission android:name="android.permission.CAMERA" />18    <uses-feature android:name="android.hardware.camera.any" android:required="false" />1920    <application21        android:name=".PeachApplication"22        android:allowBackup="false"23        android:fullBackupContent="false"24        android:icon="@mipmap/ic_launcher"25        android:label="@string/app_name"26        android:roundIcon="@mipmap/ic_launcher_round"27        android:supportsRtl="true"28        android:theme="@style/Theme.Peach.Splash">2930        <activity31            android:name=".MainActivity"32            android:exported="true"33            android:launchMode="singleTask"34            android:screenOrientation="unspecified"35            android:enableOnBackInvokedCallback="true"36            android:theme="@style/Theme.Peach">37            <intent-filter>38                <action android:name="android.intent.action.MAIN" />39                <category android:name="android.intent.category.LAUNCHER" />40            </intent-filter>41            <intent-filter>42                <action android:name="android.intent.action.VIEW" />43                <category android:name="android.intent.category.DEFAULT" />44                <category android:name="android.intent.category.BROWSABLE" />45                <data android:scheme="peach" />46            </intent-filter>47            <meta-data48                android:name="android.app.shortcuts"49                android:resource="@xml/shortcuts" />50        </activity>5152        <activity53            android:name=".ui.lock.BiometricUnlockActivity"54            android:exported="false"55            android:theme="@style/Theme.Peach" />5657        <activity58            android:name=".autofill.AutofillEntryPickerActivity"59            android:exported="false"60            android:excludeFromRecents="true"61            android:theme="@style/Theme.Peach.Transparent" />6263        <activity64            android:name=".passkeys.PasskeyCredentialSelectionActivity"65            android:exported="false"66            android:excludeFromRecents="true"67            android:theme="@style/Theme.Peach.Transparent" />6869        <provider70            android:name="androidx.core.content.FileProvider"71            android:authorities="${applicationId}.fileprovider"72            android:exported="false"73            android:grantUriPermissions="true">74            <meta-data75                android:name="android.support.FILE_PROVIDER_PATHS"76                android:resource="@xml/file_paths" />77        </provider>7879        <!-- Keeps the phone dialable for sync; a browser extension can never80             listen, so this side has to stay reachable. -->81        <service82            android:name=".sync.PeachSyncService"83            android:exported="false"84            android:foregroundServiceType="dataSync" />8586        <service87            android:name=".autofill.PeachAutofillService"88            android:permission="android.permission.BIND_AUTOFILL_SERVICE"89            android:exported="true"90            android:label="@string/autofill_service_label"91            android:settingsActivity=".MainActivity">92            <intent-filter>93                <action android:name="android.service.autofill.AutofillService" />94            </intent-filter>95            <meta-data96                android:name="android.autofill"97                android:resource="@xml/autofill_service_config" />98        </service>99100        <service101            android:name=".passkeys.PeachCredentialProviderService"102            android:permission="android.permission.BIND_CREDENTIAL_PROVIDER_SERVICE"103            android:exported="true"104            tools:targetApi="34">105            <intent-filter>106                <action android:name="android.service.credentials.CredentialProviderService" />107            </intent-filter>108            <meta-data109                android:name="android.credentials.provider"110                android:resource="@xml/credential_provider_config" />111        </service>112113        <service114            android:name=".qs.PeachTileService"115            android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"116            android:exported="true">117            <intent-filter>118                <action android:name="android.service.quicksettings.action.QS_TILE" />119            </intent-filter>120        </service>121122        <receiver123            android:name=".widget.PeachSmallWidgetReceiver"124            android:exported="true">125            <intent-filter>126                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />127            </intent-filter>128            <meta-data129                android:name="android.appwidget.provider"130                android:resource="@xml/peach_small_widget_info" />131        </receiver>132133        <receiver134            android:name=".widget.PeachMediumWidgetReceiver"135            android:exported="true">136            <intent-filter>137                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />138            </intent-filter>139            <meta-data140                android:name="android.appwidget.provider"141                android:resource="@xml/peach_medium_widget_info" />142        </receiver>143144    </application>145</manifest>