When using many different Android apps, a native file chooser is displayed to allow the user to select a file to process.
For example, in the well-regarded Privacy Browser web browser, visiting the VirusTotal website and then pressing the Choose file
button on that site will invoke this file chooser GUI.
I noticed, on Samsung Android Nougat devices, many of the files listed in the Downloads
folder were deleted over a year ago, but are still being presented as current options by the file chooser.
How can one clear the history of this native file chooser?
When clearing it, are there any undesirable side-effects?
About
menuitem, or any indication if it is from Google or Samsung. Carefully going through all apps in Settings > Apps (with system apps shown) does not immediately reveal what is actually providing that file chooser GUI. – End Anti-Semitic Hate Nov 13 '20 at 09:40Show system apps
enabled) shows nothing that I find relevant, which is odd. – End Anti-Semitic Hate Nov 13 '20 at 09:42com.android.documentsui
, but doing so (unsurprisingly) had no effect. I'm thinking of clearing its data next. Will doing so result in any data loss of stored files? – End Anti-Semitic Hate Nov 13 '20 at 09:50com.android.documentsui
. It had no effect either. Perhaps a reboot after doing that will make a difference. – End Anti-Semitic Hate Nov 13 '20 at 09:56com.android.documentsui
app itself, instead it is the system-wideMedia Provider
. – Robert Nov 13 '20 at 09:58com.android.providers.media.MediaScannerService
hasn't been changed since KitKat. So the app should work on new releases too. The same service is called on every boot bycom.android.providers.media.MediaScannerReceiver
. Details in the same answer. – Irfan Latif Nov 13 '20 at 20:16com.android.providers.downloads
andcom.android.providers.downloads.ui
before doing anything with the media scanner, and it resolved the issue. I'm surprised it worked, as I didn't touch the media scanner. – End Anti-Semitic Hate Nov 13 '20 at 20:24