Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Snippets Groups Projects
Commit 7bb3bdce authored by Tomasz Mikolajewski's avatar Tomasz Mikolajewski
Browse files

Minor cleanup of ReadableArchive.

Test: None
Bug: None
Change-Id: Ifc3932b5f3b19fb4784c97053e86d1f48945ae4d
parent 85ef1a21
Branches
No related tags found
No related merge requests found
...@@ -60,11 +60,11 @@ import java.util.zip.ZipEntry; ...@@ -60,11 +60,11 @@ import java.util.zip.ZipEntry;
* <p>This class is thread safe. * <p>This class is thread safe.
*/ */
public class ReadableArchive extends Archive { public class ReadableArchive extends Archive {
private static final String TAG = "Archive"; private static final String TAG = "ReadableArchive";
@GuardedBy("mEnqueuedOutputPipes") @GuardedBy("mEnqueuedOutputPipes")
final Set<ParcelFileDescriptor> mEnqueuedOutputPipes = new HashSet<>(); private final Set<ParcelFileDescriptor> mEnqueuedOutputPipes = new HashSet<>();
final ThreadPoolExecutor mExecutor; private final ThreadPoolExecutor mExecutor;
private final StrictJarFile mZipFile; private final StrictJarFile mZipFile;
private ReadableArchive( private ReadableArchive(
...@@ -228,11 +228,7 @@ public class ReadableArchive extends Archive { ...@@ -228,11 +228,7 @@ public class ReadableArchive extends Archive {
} }
} }
/** @Override
* Opens a file within an archive.
*
* @see DocumentsProvider.openDocument(String, String, CancellationSignal))
*/
public ParcelFileDescriptor openDocument( public ParcelFileDescriptor openDocument(
String documentId, String mode, @Nullable final CancellationSignal signal) String documentId, String mode, @Nullable final CancellationSignal signal)
throws FileNotFoundException { throws FileNotFoundException {
...@@ -314,11 +310,7 @@ public class ReadableArchive extends Archive { ...@@ -314,11 +310,7 @@ public class ReadableArchive extends Archive {
return pipe[0]; return pipe[0];
} }
/** @Override
* Opens a thumbnail of a file within an archive.
*
* @see DocumentsProvider.openDocumentThumbnail(String, Point, CancellationSignal))
*/
public AssetFileDescriptor openDocumentThumbnail( public AssetFileDescriptor openDocumentThumbnail(
String documentId, Point sizeHint, final CancellationSignal signal) String documentId, Point sizeHint, final CancellationSignal signal)
throws FileNotFoundException { throws FileNotFoundException {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment