commit | fb833f38a0c9a27b55784f2bf3dcd7aa7d652157 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Dec 01 14:59:59 2016 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Thu Dec 01 15:01:19 2016 -0700 |
tree | fdb3bd390480dc80652c7f151aa5948135ced14b | |
parent | aac3cba5311622061d648e92bf385da2087ce18e [diff] |
Detect content:// leaving apps without grants. Developers regularly put content:// Uris into Intents, but they can easily forget to add FLAG_GRANT_READ_URI_PERMISSION to actually extend a permission grant to the receiving app. Also fix NPE when path is missing. Test: builds, boots, common actions work without triggering Bug: 32447617, 31900890 Change-Id: Ic6054b1d73de50967cf7fe66abc293c60a41b97e