commit | 08f1959e1050f339dfe1821760da717634760661 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Wed Dec 21 13:27:04 2016 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Wed Dec 21 13:27:07 2016 -0700 |
tree | 9cbce86858d7807a9ee27fe99c7016a6de51d187 | |
parent | d0abcbeb3b96a09a1e8962504c0b9f4a47aa0d7c [diff] |
Always create grant structures when persistable. Certain apps may already hold permissions to an underlying provider, but they expect APIs like takePersistableUriPermission() and getPersistedUriPermissions() to work when a permission grant was extended with FLAG_GRANT_PERSISTABLE_URI_PERMISSION. Test: builds, boots Bug: 31239684 Change-Id: I4b21c57956b70133ecadb50d0d3ee339f41e2260