[SettingsProvider] enforce permission on openFile

Prevent third-party apps to write to ring tone files without permission.

BUG: 222687217
Test: manual debug app
Test: will add a CTS
Change-Id: I759b9674172e2bdb518c1dccfff0f20047343bf0
1 file changed