exclude compose activity from recents (#4521)

closes #4517
This commit is contained in:
Konrad Pozniak 2024-06-29 06:36:12 +02:00 committed by GitHub
parent f5ad39946e
commit b1f7e24a93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -99,9 +99,13 @@
android:value="androidx.sharetarget.ChooserTargetServiceCompat" /> android:value="androidx.sharetarget.ChooserTargetServiceCompat" />
</activity> </activity>
<!-- When content is shared to Tusky ComposeActivity can be the only active activity,
so it must be excluded from recents or the sharing process can be restarted from recents
which would be very unexpected -->
<activity <activity
android:name=".components.compose.ComposeActivity" android:name=".components.compose.ComposeActivity"
android:theme="@style/TuskyDialogActivityTheme" android:theme="@style/TuskyDialogActivityTheme"
android:excludeFromRecents="true"
android:windowSoftInputMode="stateVisible|adjustResize" /> android:windowSoftInputMode="stateVisible|adjustResize" />
<activity <activity
android:name=".components.viewthread.ViewThreadActivity" android:name=".components.viewthread.ViewThreadActivity"