Add exception for inserting files from private directory
From android S onwards, legacy apps using MediaColumn.DATA are not
allowed to insert private files to media provider. This is because
such files are not accessible publicly.
Bug: 172100307
Bug: 160930275
Test: atest CtsScopedStorageHostTest:ScopedStorageHostTest
Test: atest CtsScopedStorageDeviceOnlyTest:ScopedStorageDeviceTest
Test: atest LegacyStorageTest:LegacyStorageHostTest
Change-Id: Idc6cf92f29b675298d011afe3bd30f619675949a
1 file changed