Samsung Gallery edit/save leaves video in MediaStore.IS_PENDING=1 state

17 hours ago 3
ARTICLE AD BOX

I’m encountering an issue where videos edited in Samsung Gallery become permanently inaccessible to third-party apps.

Problem

After editing a video in Samsung Gallery and tapping “Save” (overwrite):
• The video does not appear in the “Videos” tab of any media picker
• The video appears in Gallery under “Collections > Camera”
• External apps cannot open the file
• MediaStore shows IS_PENDING=1 and it never resets

Reproduction steps
1. Open Samsung Gallery
2. Select a video from camera roll
3. Edit the video
4. Tap “Save” (overwrite)
5. Open a third-party app and try to access the video

Result:
• Video missing from “Videos” tab
• Visible in Gallery, but cannot be opened externally

val projection = arrayOf(MediaStore.Video.Media.IS_PENDING) val cursor = contentResolver.query( MediaStore.Video.Media.EXTERNAL_CONTENT_URI, projection, "${MediaStore.Video.Media._ID} = ?", arrayOf(videoId.toString()), null ) cursor?.use { val pendingCol = it.getColumnIndexOrThrow(MediaStore.Video.Media.IS_PENDING) val isPending = it.getInt(pendingCol) Log.d("MediaStore", "Video $videoId IS_PENDING: $isPending") }

This consistently logs IS_PENDING = 1 and never changes.

Additional context
• Occurs on multiple Samsung devices (Z Fold 3 and others)
• Android 13+ / One UI 5+
• “Save as copy” works correctly (new file is accessible)
• Firebase Crashlytics indicates failures when accessing such videos

Questions
1. When and how is IS_PENDING supposed to be reset to 0 after saving?
2. Can third-party apps access media files owned by another app while IS_PENDING=1?
3. Is this expected behavior or a Samsung Gallery bug?

Looking for clarification or possible workarounds.

Read Entire Article