commit | 77797400ec103b1691e1c3fa602c329b49ac18ca | [log] [tgz] |
---|---|---|
author | Ben Kwa <kenobi@google.com> | Fri May 29 15:40:31 2015 -0700 |
committer | Ben Kwa <kenobi@google.com> | Wed Jun 10 11:24:55 2015 -0700 |
tree | bc9ea8cd42536ddeaf4fb2a50cdb05d8af38d6b8 | |
parent | 327c364113c18c9d5a05df0c912b65788461da41 [diff] |
Enable apps to exclude their own roots from the DocumentsUI roots list. - Add DocumentsContract.EXTRA_EXCLUDE_SELF (boolean extra) - Add code to DocumentsActivity to cache the providers of the calling app if EXTRA_EXCLUDE_SELF is set on incoming Intents. - Add code to RootsCache to exclude roots from the calling app. - Add code to allow only system apps to use EXTRA_PACKAGE_NAME. Change-Id: Ia7cc2a1a297676c7b26f6e583042a4607d8c9a4e