diff options
author | Dan Egnor <egnor@google.com> | 2009-11-25 12:38:00 -0800 |
---|---|---|
committer | Dan Egnor <egnor@google.com> | 2009-11-25 12:38:00 -0800 |
commit | eb7a7d57ca50f85b054edadab766b51ff22a2dfd (patch) | |
tree | 556e05254f66359607699f4dcca123143052e0c4 /api | |
parent | a85a0ac1072c7653fdafa791416658154b76ac0d (diff) | |
download | frameworks_base-eb7a7d57ca50f85b054edadab766b51ff22a2dfd.zip frameworks_base-eb7a7d57ca50f85b054edadab766b51ff22a2dfd.tar.gz frameworks_base-eb7a7d57ca50f85b054edadab766b51ff22a2dfd.tar.bz2 |
Change the DropBoxManager API slightly (this is public, but not yet released) --
take a File instead of a ParcelFileDescriptor (gets opened internally) --
that way the caller doesn't have to worry about closing their PFD and so on.
(Pretty much 100% of the time the caller will be uploading a file, anyway.)
Diffstat (limited to 'api')
-rw-r--r-- | api/current.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/api/current.xml b/api/current.xml index 12c2eee..ef8f78f 100644 --- a/api/current.xml +++ b/api/current.xml @@ -102263,10 +102263,12 @@ > <parameter name="tag" type="java.lang.String"> </parameter> -<parameter name="fd" type="android.os.ParcelFileDescriptor"> +<parameter name="file" type="java.io.File"> </parameter> <parameter name="flags" type="int"> </parameter> +<exception name="IOException" type="java.io.IOException"> +</exception> </method> <method name="addText" return="void" |