From 275b1e3f6852f2e8126165b850819ca3924b8a20 Mon Sep 17 00:00:00 2001 From: Tom Hennen Date: Sat, 22 Aug 2015 09:52:09 -0400 Subject: get rid of ProGuard 'unsafe' warning --- app/proguard.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/proguard.cfg b/app/proguard.cfg index 6020b5751..69c65b14b 100644 --- a/app/proguard.cfg +++ b/app/proguard.cfg @@ -56,6 +56,9 @@ -dontwarn com.squareup.okhttp.** -dontwarn okio.** +# for RxJava: +-dontwarn sun.misc.Unsafe + -keep class android.support.v4.** { *; } -keep interface android.support.v4.** { *; } -keep class android.support.v7.** { *; } -- cgit v1.2.3 From 2af0f7ef7c590aa806efa452e49380d72b0dc87b Mon Sep 17 00:00:00 2001 From: Tom Hennen Date: Sat, 22 Aug 2015 11:31:41 -0400 Subject: Fixed invoke warning Added dontwarn for invoke warning that is 'OK' since we're using retrolamba. fixes AntennaPod/AntennaPod#1117 --- app/proguard.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/proguard.cfg b/app/proguard.cfg index 69c65b14b..ee9dace54 100644 --- a/app/proguard.cfg +++ b/app/proguard.cfg @@ -59,6 +59,9 @@ # for RxJava: -dontwarn sun.misc.Unsafe +# for retrolambda +-dontwarn java.lang.invoke.* + -keep class android.support.v4.** { *; } -keep interface android.support.v4.** { *; } -keep class android.support.v7.** { *; } -- cgit v1.2.3