From b765dcfdb81fc58f8af819b2257acf08e7ea39bf Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 13 Mar 2016 17:09:12 +0100 Subject: [PATCH] Fixed proguard Fixes #369 --- app/app.iml | 22 ++++++++++++++++------ app/proguard-rules.pro | 3 ++- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/app/app.iml b/app/app.iml index 7dcb11f9..14aef1c4 100644 --- a/app/app.iml +++ b/app/app.iml @@ -41,6 +41,12 @@ + + + + + + @@ -48,12 +54,6 @@ - - - - - - @@ -112,17 +112,27 @@ + + + + + + + + + + diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 91123280..ebf7c0e6 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -29,10 +29,11 @@ } #JNI callbacks +-keep class eu.faircode.netguard.Allowed { *; } -keep class eu.faircode.netguard.Packet { *; } -keep class eu.faircode.netguard.ResourceRecord { *; } -keep class eu.faircode.netguard.Usage { *; } --keep class eu.faircode.netguard.SinkholeService { +-keep class eu.faircode.netguard.ServiceSinkhole { void nativeExit(java.lang.String); void nativeError(int, java.lang.String); void logPacket(eu.faircode.netguard.Packet);