Skip to content

Commit 9f905b3

Browse files
author
Cook21
committed
bug fixed
1 parent d36e316 commit 9f905b3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • CameraXBasic/app/src/main/java/com/android/example/cameraxbasic/fragments

CameraXBasic/app/src/main/java/com/android/example/cameraxbasic/fragments/GalleryFragment.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ class GalleryFragment internal constructor() : Fragment() {
127127
// Set the appropriate intent extra, type, action and flags
128128
putExtra(Intent.EXTRA_STREAM, uri)
129129
type = mediaType
130-
//action = Intent.ACTION_SEND
131-
action = Intent.ACTION_VIEW
130+
action = Intent.ACTION_SEND
132131
flags = Intent.FLAG_GRANT_READ_URI_PERMISSION
133132
}
134133

0 commit comments

Comments
 (0)