Fix Cast demo app's blaze build and enable proguarding

PiperOrigin-RevId: 233372668
This commit is contained in:
aquilescanta 2019-02-11 10:56:23 +00:00 committed by Andrew Lewis
parent abb53d7ce7
commit 905927554a
2 changed files with 8 additions and 0 deletions

View file

@ -17,6 +17,8 @@
package="com.google.android.exoplayer2.castdemo">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-sdk/>
<application android:label="@string/application_name" android:icon="@mipmap/ic_launcher"

View file

@ -2,3 +2,9 @@
# DefaultCastOptionsProvider is commonly referred to only by the app's manifest.
-keep class com.google.android.exoplayer2.ext.cast.DefaultCastOptionsProvider
# ExoCastOptionsProvider is commonly referred to only by the app's manifest.
-keep class com.google.android.exoplayer2.ext.cast.ExoCastOptionsProvider
# Don't warn about gms
-dontwarn com.google.android.gms.**