aboutsummaryrefslogtreecommitdiff
path: root/proguard.flags
diff options
context:
space:
mode:
authorNick Chalko <nchalko@google.com>2016-02-26 13:38:57 -0800
committerNick Chalko <nchalko@google.com>2016-02-26 13:39:22 -0800
commitba5845f23b8fbc985890f892961abc8b39886611 (patch)
treeda373b9fe1955a2c7008c2e65df5ec3f5b087454 /proguard.flags
parent1abddd9f6225298066094e20a6c29061b6af4590 (diff)
downloadTV-ba5845f23b8fbc985890f892961abc8b39886611.tar.gz
Sync to ub-tv-interns at cc7c29d2a24a1343498f6d95ca5a79e003e6aefe
Change-Id: I580da190231e47c65b69f425b30ec4685eb50ce4
Diffstat (limited to 'proguard.flags')
-rw-r--r--proguard.flags8
1 files changed, 7 insertions, 1 deletions
diff --git a/proguard.flags b/proguard.flags
index 80ae826d..067ccca3 100644
--- a/proguard.flags
+++ b/proguard.flags
@@ -28,7 +28,7 @@
-dontwarn com.google.android.common.**
# Keep the methods called from native code.
--keepclasseswithmembers class com.android.usbtuner.UsbTunerInterface {
+-keepclasseswithmembers class com.android.usbtuner.TunerHal {
int openDvbFrontEndFd();
int openDvbDemuxFd();
int openDvbDvrFd();
@@ -39,6 +39,12 @@
void close();
}
+# Keep method which is used for reflection.
+-keep @com.android.tv.common.annotation.UsedByReflection class * {*;}
+-keepclasseswithmembers class * {
+ @com.android.tv.common.annotation.UsedByReflection <methods>;
+}
+
# For tests
-keep @android.support.annotation.VisibleForTesting class * {*;}
-keepclasseswithmembers class * {