fix: prevent assistant launch from bringing MainActivity to foreground
Add empty taskAffinity to AssistantActivity so it runs in a separate task from the main app, preventing MainActivity from surfacing when AssistantActivity finishes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7b13171689
commit
f94e299f65
1 changed files with 1 additions and 0 deletions
|
|
@ -56,6 +56,7 @@
|
||||||
android:name=".assistant.AssistantActivity"
|
android:name=".assistant.AssistantActivity"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
|
android:taskAffinity=""
|
||||||
android:launchMode="singleTask"
|
android:launchMode="singleTask"
|
||||||
android:theme="@android:style/Theme.NoDisplay">
|
android:theme="@android:style/Theme.NoDisplay">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue