We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d36e316 commit 9f905b3Copy full SHA for 9f905b3
1 file changed
CameraXBasic/app/src/main/java/com/android/example/cameraxbasic/fragments/GalleryFragment.kt
@@ -127,8 +127,7 @@ class GalleryFragment internal constructor() : Fragment() {
127
// Set the appropriate intent extra, type, action and flags
128
putExtra(Intent.EXTRA_STREAM, uri)
129
type = mediaType
130
- //action = Intent.ACTION_SEND
131
- action = Intent.ACTION_VIEW
+ action = Intent.ACTION_SEND
132
flags = Intent.FLAG_GRANT_READ_URI_PERMISSION
133
}
134
0 commit comments