From 769dbb3324ba7a354358880a0275c464022be663 Mon Sep 17 00:00:00 2001 From: srowen Date: Wed, 22 Jul 2009 10:36:11 +0000 Subject: [PATCH] Re-enable ProGuard, and finally identified the workaround that seems to make 4.4 work with our code without a VerifyError git-svn-id: http://zxing.googlecode.com/svn/trunk@1025 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- android/build.xml | 43 ++++++++++++++++++- .../google/zxing/qrcode/decoder/Version.java | 4 +- 2 files changed, 44 insertions(+), 3 deletions(-) diff --git a/android/build.xml b/android/build.xml index c81a9d4c..dd8fd7ee 100644 --- a/android/build.xml +++ b/android/build.xml @@ -95,7 +95,7 @@ limitations under the License. - + @@ -179,9 +179,37 @@ limitations under the License. + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -213,6 +241,19 @@ limitations under the License. basename="${ant.project.name}" /> + + diff --git a/core/src/com/google/zxing/qrcode/decoder/Version.java b/core/src/com/google/zxing/qrcode/decoder/Version.java index 386aef8f..823bf2b7 100755 --- a/core/src/com/google/zxing/qrcode/decoder/Version.java +++ b/core/src/com/google/zxing/qrcode/decoder/Version.java @@ -189,12 +189,12 @@ public final class Version { private final int ecCodewordsPerBlock; private final ECB[] ecBlocks; - private ECBlocks(int ecCodewordsPerBlock, ECB ecBlocks) { + ECBlocks(int ecCodewordsPerBlock, ECB ecBlocks) { this.ecCodewordsPerBlock = ecCodewordsPerBlock; this.ecBlocks = new ECB[]{ecBlocks}; } - private ECBlocks(int ecCodewordsPerBlock, ECB ecBlocks1, ECB ecBlocks2) { + ECBlocks(int ecCodewordsPerBlock, ECB ecBlocks1, ECB ecBlocks2) { this.ecCodewordsPerBlock = ecCodewordsPerBlock; this.ecBlocks = new ECB[]{ecBlocks1, ecBlocks2}; } -- 2.20.1