DropBoxManager.Entry implements Closeable
Change-Id: I61716c06b92fa1b9b5b271b5805550bdb2d51b46
diff --git a/api/current.xml b/api/current.xml
index b657c34..a2bce1d 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -125837,6 +125837,8 @@
deprecated="not deprecated"
visibility="public"
>
+<implements name="java.io.Closeable">
+</implements>
<implements name="android.os.Parcelable">
</implements>
<constructor name="DropBoxManager.Entry"
diff --git a/core/java/android/os/DropBoxManager.java b/core/java/android/os/DropBoxManager.java
index fa23458..a47c66a 100644
--- a/core/java/android/os/DropBoxManager.java
+++ b/core/java/android/os/DropBoxManager.java
@@ -21,6 +21,7 @@
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 @@
* 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;