From 0c1b5dd2711ae69ceb023e817634e645b58b75ef Mon Sep 17 00:00:00 2001 From: "fenghao (P)" Date: Sat, 10 Jul 2021 20:23:38 +0800 Subject: [PATCH 1/2] =?UTF-8?q?IssueNo:#I3SH1G=20Description:=E6=89=93?= =?UTF-8?q?=E5=8C=85app=E5=9C=BA=E6=99=AF=EF=BC=8C=E9=87=8D=E6=96=B0?= =?UTF-8?q?=E6=89=93=E5=8C=85hap=E6=97=B6=EF=BC=8C=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E6=A0=B9=E6=8D=AEcompressNativeLibs=E5=88=A4=E6=96=AD=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E5=8E=8B=E7=BC=A9so=20Sig:aafwk=20Feature=20or=20Bugf?= =?UTF-8?q?ix:=20Bugfig=20Binary=20Source:=20No?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fenghao (P) Date: Sat, 10 Jul 2021 20:38:08 +0800 Subject: [PATCH 2/2] =?UTF-8?q?ssueNo:#I3SH1G=20Description:=E6=89=93?= =?UTF-8?q?=E5=8C=85app=E5=9C=BA=E6=99=AF=EF=BC=8C=E9=87=8D=E6=96=B0?= =?UTF-8?q?=E6=89=93=E5=8C=85hap=E6=97=B6=EF=BC=8C=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E6=A0=B9=E6=8D=AEcompressNativeLibs=E5=88=A4=E6=96=AD=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E5=8E=8B=E7=BC=A9so=20Sig:aafwk=20Feature=20or=20Bugf?= =?UTF-8?q?ix:=20Bugfig=20Binary=20Source:=20No?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fenghao (P) --- adapter/ohos/Compressor.java | 2 +- adapter/ohos/FileUtils.java | 1 - adapter/ohos/Uncompress.java | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/adapter/ohos/Compressor.java b/adapter/ohos/Compressor.java index e8e0ea52..1f36b2cf 100644 --- a/adapter/ohos/Compressor.java +++ b/adapter/ohos/Compressor.java @@ -109,7 +109,7 @@ public class Compressor { private static final Log LOG = new Log(Compressor.class.toString()); private static String versionCode = ""; private static String versionName = ""; - +dd private ZipOutputStream zipOut = null; private boolean mIsContain2x2EntryCard = true; diff --git a/adapter/ohos/FileUtils.java b/adapter/ohos/FileUtils.java index 21c42fb4..ca31384b 100644 --- a/adapter/ohos/FileUtils.java +++ b/adapter/ohos/FileUtils.java @@ -40,7 +40,6 @@ import java.util.zip.ZipFile; public class FileUtils { private static final int BUFFER_SIZE = 1024; private static final long TOO_BIG_SIZE = 0x6400000; - private static final long TOO_MANY_SIZE = 1024; private static final Log LOG = new Log(FileUtils.class.toString()); /** diff --git a/adapter/ohos/Uncompress.java b/adapter/ohos/Uncompress.java index 7e3dc728..cd649efc 100644 --- a/adapter/ohos/Uncompress.java +++ b/adapter/ohos/Uncompress.java @@ -57,7 +57,6 @@ public class Uncompress { private static final int READ_BUFFER_SIZE = 1024; private static final int BUFFER_SIZE = 10 * 1024; private static final long FILE_TIME = 1546272000000L; - private static final long TOO_MANY_SIZE = 65536; private static final String LIBS_DIR_NAME = "libs"; private static final String CUT_ENTRY_FILENAME = "cut_entry.apk"; private static final String SO_SUFFIX = ".so"; -- Gitee