mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-22 03:54:18 -04:00
Added a TODO
This commit is contained in:
parent
e787105961
commit
5b93fae272
@ -369,6 +369,7 @@ public class ZimContentProvider extends ContentProvider {
|
|||||||
pipe = ParcelFileDescriptor.createPipe();
|
pipe = ParcelFileDescriptor.createPipe();
|
||||||
new TransferThread(jniKiwix, uri, new AutoCloseOutputStream(pipe[1])).start();
|
new TransferThread(jniKiwix, uri, new AutoCloseOutputStream(pipe[1])).start();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
//TODO: Why do we narrow the exception? We can't be sure the file isn't found
|
||||||
throw new FileNotFoundException("Could not open pipe for: "
|
throw new FileNotFoundException("Could not open pipe for: "
|
||||||
+ uri.toString());
|
+ uri.toString());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user