Fix read archive file

This commit is contained in:
NekoInverter committed 2020-04-03 11:41:40 +08:00
1 parent d2e3d125bb
commit 4be5a0d0ed
5 files changed
+27 -10

No files matched your search

@@ -195,6 +195,7 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan
} else if (Intent.ACTION_VIEW.equals(mAction)) {
if (mUri != null) {
// Only support zip now
grantUriPermission(BuildConfig.APPLICATION_ID, mUri, Intent.FLAG_GRANT_READ_URI_PERMISSION);
mGalleryProvider = new ArchiveGalleryProvider(this, mUri);
}
}