From 6ddedbba36d5e2f7758c5d85274ac0979822abd5 Mon Sep 17 00:00:00 2001 From: akwizgran Date: Thu, 13 Jan 2022 10:37:10 +0000 Subject: [PATCH] Move ProGuard rules for Briar to briar-android. --- bramble-android/proguard-rules.txt | 2 -- briar-android/proguard-rules.txt | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bramble-android/proguard-rules.txt b/bramble-android/proguard-rules.txt index 3d05c69bc..fee1df635 100644 --- a/bramble-android/proguard-rules.txt +++ b/bramble-android/proguard-rules.txt @@ -1,5 +1,3 @@ --keep,includedescriptorclasses class org.briarproject.briar.android.**,org.briarproject.briar.api.android.** { *; } - # Keep the H2 classes that are loaded via reflection -keep class org.h2.Driver { *; } -keep class org.h2.engine.Engine { *; } diff --git a/briar-android/proguard-rules.txt b/briar-android/proguard-rules.txt index 346310593..9059eee6b 100644 --- a/briar-android/proguard-rules.txt +++ b/briar-android/proguard-rules.txt @@ -3,6 +3,8 @@ -dontobfuscate -keepattributes SourceFile, LineNumberTable, *Annotation*, Signature, InnerClasses, EnclosingMethod +-keep,includedescriptorclasses class org.briarproject.briar.android.**,org.briarproject.briar.api.android.** { *; } + # QR codes -keep class com.google.zxing.Result -keepclassmembers enum * {