FossifyOrg / Gallery

Browse your memories without any interruptions with this photo and video gallery
https://www.fossify.org
GNU General Public License v3.0
1.34k stars 41 forks source link

Add option to use system api for trashing items #176

Open soredake opened 3 months ago

soredake commented 3 months ago

Checklist

Feature description

Add option to use system api for trashing items.

Why do you want this feature?

Fossify gallery will be more integrated with modern android when using system api for trashing, android will know that this files are trashed, and you can manage them from system settings app:

Screenshot_20240321-194256(1) Screenshot_20240321-200133

Additional information

System api documentation: https://developer.android.com/training/data-storage/shared/media https://developer.android.com/reference/kotlin/android/provider/MediaStore#createTrashRequest(android.content.ContentResolver,%20kotlin.collections.MutableCollection,%20kotlin.Boolean)