From 7ed4fcaf8e51bfa2d8c3d1a0ca16c9250eac271d Mon Sep 17 00:00:00 2001 From: Adnan Begovic Date: Mon, 7 Mar 2016 11:48:37 -0800 Subject: [PATCH] cmsdk: Keep generated java classes from aidl interfaces. Keep any classes extending IInterface so we can have the BinderTransactionTest run successfully. Change-Id: Ic49794017e472499cbbf351dfa12732854ceea8d TICKET: CYNGNOS-2189 --- tests/proguard.flags | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/proguard.flags b/tests/proguard.flags index e2a11a2..d9e855c 100644 --- a/tests/proguard.flags +++ b/tests/proguard.flags @@ -32,6 +32,9 @@ -keep interface junit.** { *; } -keep interface org.junit.** { *; } +# Keep compiled java classes from declared aidl's within the test package +-keep public class * extends android.os.IInterface { *; } + # Don't warn about the Android Support Test JUnit Runner -dontwarn android.support.** -dontwarn android.test.**