Age | Commit message (Collapse) | Author |
|
Bug: N/A Dev tools
Test: N/A Dev tools
Change-Id: If71099a9948ae599683d0605751ea264e482e204
|
|
* previously rm would error if the file wasn't found.
Bug: n/a
Test: n/a
Change-Id: I36ad6316786dee67bcacacc3a8924e7f63e8b070
|
|
* Allows inserting media_grant rows via an adb shell content call.
* Renamed sqlite3.sh to mediaproviderutils.sh & included a new helper function
to make adding grants simpler.
* Add end-to-end test of MediaStore.grantMediaReadForPackage
Sample adb command to add a media grant:
```
adb shell content call --method 'grant_media_read_for_package' \
--uri 'content://media' \
--extra 'uri':s:$URI \
--extra 'android.intent.extra.PACKAGE_NAME':s:$PACKAGE_NAME
```
Change-Id: I4ddfa43c5617af63f470e9c2f376e9c665b26d96
|