From 06c5f462e0c7c67703d58762a2919697306da947 Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Sat, 26 Aug 2023 21:39:42 -0400 Subject: [PATCH] refactor: use proper enum (0 on both) for setMethod() (#3297) --- .../apktool-lib/src/main/java/brut/androlib/res/Framework.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/Framework.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/Framework.java index 96d83fab..87148180 100644 --- a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/Framework.java +++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/Framework.java @@ -77,7 +77,7 @@ public class Framework { crc.update(data); entry = new ZipEntry("resources.arsc"); entry.setSize(data.length); - entry.setMethod(ZipOutputStream.STORED); + entry.setMethod(ZipEntry.STORED); entry.setCrc(crc.getValue()); out.putNextEntry(entry); out.write(data);