Stop treating WRITE_MEDIA_STORAGE permission as system

As part of deprecating the WRITE_MEDIA_STORAGE permission, we stop
treating apps holding it special in MediaProvider. Instead, apps
holding it will only get access as legacy apps if they target <= Q

Test: Verified apps with WRITE_MEDIA_STORAGE targeting <=Q have legacy
appop and target >Q don't have legacy appop
Bug: 144914977
Change-Id: I8e1210737b6d17d74ada750a9e153c27fd8ba6f3
1 file changed