commit | 8a2998eade93032a78d681c66ebadbfa6f802f76 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Oct 31 14:55:44 2013 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Thu Oct 31 14:55:44 2013 -0700 |
tree | ab8b7f4da254f89ce50670792afd902709caf9cf | |
parent | eaa9780fd64f122df8a306562786e106ae228ceb [diff] |
Better enforcement in DocumentsProvider.call(). Use ContentProvider.enforceWritePermissionInner() to handle all edge cases around checking if caller has write permissions. This fixes bug where call() would throw if caller and provider were the same app. Bug: 11464234 Change-Id: Iace8e0e4243d56ed1cdcc9680383103975107036