Update database for apps bypassing scoped storage restrictions

Insert/update/delete database row on FUSE operations by apps that
bypass scoped storage restrictions. However, we ignore all database
update errors for these apps.

Test: atest packages/providers/MediaProvider
Bug: 151076202
Change-Id: I1a2b9958588a0084549217a083514994bbe5bb73
5 files changed