OSDN Git Service

Change the DropBoxManager API slightly (this is public, but not yet released) --
authorDan Egnor <egnor@google.com>
Wed, 25 Nov 2009 20:38:00 +0000 (12:38 -0800)
committerDan Egnor <egnor@google.com>
Wed, 25 Nov 2009 20:38:00 +0000 (12:38 -0800)
commiteb7a7d57ca50f85b054edadab766b51ff22a2dfd
tree556e05254f66359607699f4dcca123143052e0c4
parenta85a0ac1072c7653fdafa791416658154b76ac0d
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.)
api/current.xml
core/java/android/os/DropBoxManager.java
services/java/com/android/server/BootReceiver.java
tests/AndroidTests/src/com/android/unit_tests/DropBoxTest.java