app/src/main/AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"> <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" /> <application android:name=".App" android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:requestLegacyExternalStorage="true" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme" tools:ignore="AllowBackup"> <activity android:name=".activity.MainActivity" android:exported="true" android:screenOrientation="locked" android:theme="@style/AppTheme.NoActionBar"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name=".activity.StartActivity" android:exported="false" android:screenOrientation="locked" android:theme="@style/AppTheme.NoActionBar" /> <activity android:name=".activity.security.SetupKeyActivity" android:exported="false" android:screenOrientation="locked" android:theme="@style/AppTheme.NoActionBar" /> <activity android:name=".activity.security.AuthActivity" android:exported="false" android:screenOrientation="locked" android:theme="@style/AppTheme.NoActionBar" /> <activity android:name=".activity.security.KeyRecoveryActivity" android:exported="false" android:screenOrientation="locked" android:theme="@style/AppTheme" /> <activity android:name=".activity.security.ImportKeyActivity" android:exported="false" android:screenOrientation="locked" android:theme="@style/AppTheme" /> <activity android:name=".activity.data.ReEncryptionActivity" android:exported="false" android:screenOrientation="locked" android:theme="@style/AppTheme" /> <activity android:name=".activity.notes.NoteListActivity" android:exported="false" android:screenOrientation="locked" android:theme="@style/AppTheme" /> <activity android:name=".activity.notes.OpenNoteActivity" android:exported="false" android:screenOrientation="locked" android:theme="@style/AppTheme" /> <activity android:name=".activity.notes.SearchNotesActivity" android:exported="false" android:screenOrientation="locked" android:theme="@style/AppTheme" /> <activity android:name=".activity.notes.ViewNotesSearchResultsActivity" android:exported="false" android:screenOrientation="locked" android:theme="@style/AppTheme" /> <activity android:name=".activity.files.FileListActivity" android:exported="false" android:screenOrientation="locked" android:theme="@style/AppTheme" /> <activity android:name=".activity.files.AddFileActivity" android:exported="false" android:screenOrientation="locked" android:theme="@style/AppTheme.NoActionBar" /> <activity android:name=".activity.files.viewer.OpenImageActivity" android:exported="false" android:screenOrientation="locked" android:theme="@style/AppTheme" /> <activity android:name=".activity.files.viewer.OpenVideoActivity" android:exported="false" android:screenOrientation="locked" android:theme="@style/AppTheme" /> <activity android:name=".activity.files.viewer.OpenTextFileActivity" android:exported="false" android:screenOrientation="locked" android:theme="@style/AppTheme" /> <activity android:name=".activity.files.viewer.OpenUnknownFileActivity" android:exported="false" android:screenOrientation="locked" android:theme="@style/AppTheme" /> <activity android:name=".activity.data.ExportActivity" android:exported="false" android:screenOrientation="locked" android:theme="@style/AppTheme" /> <activity android:name=".activity.data.ImportActivity" android:exported="false" android:screenOrientation="locked" android:theme="@style/AppTheme" /> <service android:name=".service.android.CacheCleanerService" android:exported="false" android:foregroundServiceType="dataSync" /> <service android:name=".service.android.ExportService" android:exported="false" android:foregroundServiceType="dataSync" /> <service android:name=".service.android.ImportService" android:exported="false" android:foregroundServiceType="dataSync" /> <service android:name=".service.android.ReEncryptionService" android:exported="false" android:foregroundServiceType="dataSync" /> </application> </manifest>