feat: "Ask Conduit" context menu on text selection

This commit is contained in:
cogwheel0
2025-08-29 13:05:31 +05:30
parent f0b9e8e2b0
commit c9fd68eff8
3 changed files with 49 additions and 1 deletions

View File

@@ -70,6 +70,21 @@
</intent-filter>
</activity>
<!-- Adds a text-selection action (Android) shown in the selection toolbar.
It forwards the selected text into our existing share flow so the
Dart share handler receives it just like a regular share. -->
<activity
android:name=".ProcessTextActivity"
android:exported="true"
android:label="Ask Conduit"
android:noHistory="true">
<intent-filter>
<action android:name="android.intent.action.PROCESS_TEXT" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
</activity>
<!-- Background streaming service -->
<service
android:name=".BackgroundStreamingService"