diff options
author | Felipe Leme <felipeal@google.com> | 2016-01-22 16:49:55 -0800 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2016-01-27 08:52:58 -0800 |
commit | b012f913cbb3e91572817914537ec16e6138a6db (patch) | |
tree | 741df4cf7bd11c34eac5a83184f3abd80465c404 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 16726c5c762e86e05e1c45eb25b7c83ffb393958 (diff) |
Initial implementation of OPEN_EXTERNAL_DIRECTORY.
It opens a an alert dialog that tells user application X is requesting
access to folder Y on volume Z; if user accepts, it returns the proper
URI, otherwise it returns RESULT_CANCELED.
The requested path must satisfy the following requirements:
1.It's directory (getName()) must be one of the pre-definied folders on
Environment.
2.It's root (getParent()) must be a valid external storage root.
In order to satisfy #2, DocumentsUI calls the ExternalStorageProvider,
through a custom call() implementation.
BUG: 23011462
Change-Id: I8e491e82ae320df88f7b8923286c4c1ad050ae80
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions