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
This commit is contained in:
Adnan Begovic 2016-03-07 11:48:37 -08:00
parent c0bd6d0882
commit 7ed4fcaf8e

View File

@ -32,6 +32,9 @@
-keep interface junit.** { *; } -keep interface junit.** { *; }
-keep interface org.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 # Don't warn about the Android Support Test JUnit Runner
-dontwarn android.support.** -dontwarn android.support.**
-dontwarn android.test.** -dontwarn android.test.**