Checks to prevent modification via redacted URIs

Modify the media provider code to throw erros for the cases when
the user code tries to modify the file using a redacted URI.

Test: atest CtsScopedStorageDeviceOnlyTest:ScopedStorageDeviceTest

Bug: 179914046
Bug: 176547697
Change-Id: I59e8e3a15d983c9421016141733a7fc72dafe93b
1 file changed