Fix regression in ringtone translations.

When ModernMediaScanner inserts or updates a sound file, we should
always offer to translate the title and update other index fields.

A recent change to ModernMediaScanner shifted to using the generic
Files view for scanning purposes, which caused this to regress.  We
now instead detect audio items by looking at the MEDIA_TYPE.

We can also remove the "triggerInvalidate" logic from updates,
since we now handle this more robustly in onUpdate() where we have
both the old/new media types available.

Bug: 153708104
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I653aad9ba6d8fb815842d70780373f01e04e09bb
1 file changed