We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c45aac commit e16f76aCopy full SHA for e16f76a
1 file changed
app/src/main/java/com/nextcloud/talk/conversationlist/ConversationsListActivity.kt
@@ -329,7 +329,7 @@ class ConversationsListActivity : BaseActivity() {
329
330
// Share sheet shortcut tap: Android delivers ACTION_SEND with EXTRA_SHORTCUT_ID.
331
// Extract the room token from the shortcut ID so we can pre-select the conversation.
332
- if (hasActivityActionSendIntent()) {
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q && hasActivityActionSendIntent()) {
333
val shortcutId = intent.getStringExtra(Intent.EXTRA_SHORTCUT_ID)
334
if (shortcutId != null) {
335
pendingDirectShareToken = DirectShareHelper.extractTokenFromShortcutId(shortcutId)
0 commit comments