aboutsummaryrefslogtreecommitdiff
path: root/proguard.flags
diff options
context:
space:
mode:
authorNick Chalko <nchalko@google.com>2015-09-01 09:05:04 -0700
committerNick Chalko <nchalko@google.com>2015-09-16 06:46:50 -0700
commit07b043dc3db83d6d20f0e8513b946830ab00e37b (patch)
tree705ade719e5c2853c070fe40b8518a56ac37f6d0 /proguard.flags
parentb5429e4406a580953bbdac5817e421cf0ab7aae3 (diff)
downloadTV-07b043dc3db83d6d20f0e8513b946830ab00e37b.tar.gz
Sync to ub-tv-friends at 1.06.202
git hash 3c1965f5dcc60243f1fe600cb35f19bd5f01fc27 Change-Id: I90b77790f9074677ecef72a23235d2b33eacb76a
Diffstat (limited to 'proguard.flags')
-rw-r--r--proguard.flags30
1 files changed, 30 insertions, 0 deletions
diff --git a/proguard.flags b/proguard.flags
index a72b60f4..0900d498 100644
--- a/proguard.flags
+++ b/proguard.flags
@@ -14,6 +14,36 @@
# limitations under the License.
#
+# Following libraries contain references to newer platform versions.
+# Don't warn about those in case this app is linking against an older
+# platform version. We know about them, and they are safe.
+-dontwarn android.support.**
+-dontwarn com.ibm.icu.**
+-dontwarn com.google.android.exoplayer.**
+-dontwarn com.google.android.usbtuner.**
+-dontwarn com.google.android.tv.dvr.**
+
+# This is due to legacy API katniss is referencing. Seems safe.
+-dontwarn com.google.android.volley.**
+-dontwarn com.google.android.common.**
+
+# Keep the methods called from native code.
+-keepclasseswithmembers class com.google.android.usbtuner.UsbTunerInterface {
+ int openDvbFrontEndFd();
+ int openDvbDemuxFd();
+ int openDvbDvrFd();
+}
+-keepclasseswithmembers class com.google.android.usbtuner.*DataSource {
+ int readAt(long, byte[], int, int);
+ long getSize();
+ void close();
+}
+# For software AC3 decoding
+-keepclasseswithmembers class com.google.android.ssplayer.sink.FFmpegAc3Decoder {
+ long mNativeContext;
+ void decodeDone(java.nio.ByteBuffer, long);
+}
+
# For tests
-keep @android.support.annotation.VisibleForTesting class *
-keepclasseswithmembers class * {