Java has native inputstream wrapper

This commit is contained in:
topjohnwu
2017-12-01 11:42:05 +08:00
parent 2c69e2c151
commit 80cabb338b
2 changed files with 2 additions and 76 deletions
@@ -12,7 +12,6 @@ import android.widget.Toast;
import com.topjohnwu.magisk.FlashActivity;
import com.topjohnwu.magisk.MagiskManager;
import com.topjohnwu.magisk.R;
import com.topjohnwu.magisk.container.InputStreamWrapper;
import com.topjohnwu.magisk.utils.Const;
import com.topjohnwu.magisk.utils.Shell;
import com.topjohnwu.magisk.utils.Utils;
@@ -24,6 +23,7 @@ import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FilterInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
@@ -167,7 +167,7 @@ public class ProcessRepoZip extends ParallelTask<Void, Object, Boolean> {
return this;
}
private class ProgressInputStream extends InputStreamWrapper {
private class ProgressInputStream extends FilterInputStream {
ProgressInputStream(InputStream in) {
super(in);