am a2a1ca42: Merge "DropBoxManager.Entry implements Closeable" into gingerbread
Merge commit 'a2a1ca42bc07af77a8a10b714517d006cb66c36a' into gingerbread-plus-aosp * commit 'a2a1ca42bc07af77a8a10b714517d006cb66c36a': DropBoxManager.Entry implements Closeable
This commit is contained in:
@@ -127899,6 +127899,8 @@
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
<implements name="java.io.Closeable">
|
||||
</implements>
|
||||
<implements name="android.os.Parcelable">
|
||||
</implements>
|
||||
<constructor name="DropBoxManager.Entry"
|
||||
|
||||
@@ -21,6 +21,7 @@ import android.util.Log;
|
||||
import com.android.internal.os.IDropBoxManagerService;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.Closeable;
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.IOException;
|
||||
@@ -61,7 +62,7 @@ public class DropBoxManager {
|
||||
* This may include a reference to a stream, so you must call
|
||||
* {@link #close()} when you are done using it.
|
||||
*/
|
||||
public static class Entry implements Parcelable {
|
||||
public static class Entry implements Parcelable, Closeable {
|
||||
private final String mTag;
|
||||
private final long mTimeMillis;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user