Fix MediaStore_FilesTest failing with double insert.
When a new file is created, ScanFile inserts it to the database.
Since the file is created by shell, test fails inserting a new
row to database because package name is different.
Current fix forces the test package to be the owner of the database
row so that second insert can be treated as upsert.
Test: atest
MediaStore_FilesTest#testInPlaceUpdate_mediaFileWithInvalidRelativePath
Bug: 149673230
Merged-In: Idfe9623e22171ae89a9845d1f4c043022f9565d4
Change-Id: Idfe9623e22171ae89a9845d1f4c043022f9565d4
1 file changed