Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -131,8 +131,8 @@ class MainActivity : ComponentActivity() {
|
|||||||
private fun takeShared(intent: Intent?): SharedIn? {
|
private fun takeShared(intent: Intent?): SharedIn? {
|
||||||
val incoming =
|
val incoming =
|
||||||
when (intent?.action) {
|
when (intent?.action) {
|
||||||
Intent.ACTION_SEND -> SharedIn(intent.takeSendText(), intent.takeStreams())
|
Intent.ACTION_SEND, Intent.ACTION_SEND_MULTIPLE ->
|
||||||
Intent.ACTION_SEND_MULTIPLE -> SharedIn(intent.takeSendText(), intent.takeStreams())
|
SharedIn(intent.takeSendText(), intent.takeStreams())
|
||||||
Intent.ACTION_PROCESS_TEXT -> SharedIn(intent.takeProcessText(), emptyList())
|
Intent.ACTION_PROCESS_TEXT -> SharedIn(intent.takeProcessText(), emptyList())
|
||||||
else -> null
|
else -> null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user