Fix proguard for external cast extension, disable for internal

PiperOrigin-RevId: 233594542
This commit is contained in:
olly 2019-02-12 14:18:05 +00:00 committed by Andrew Lewis
parent c7788c18db
commit f299a65a33
2 changed files with 0 additions and 11 deletions

View File

@ -25,7 +25,6 @@ android {
defaultConfig {
minSdkVersion project.ext.minSdkVersion
targetSdkVersion project.ext.targetSdkVersion
consumerProguardFiles 'proguard-rules.txt'
}
}

View File

@ -1,10 +0,0 @@
# Proguard rules specific to the Cast extension.
# 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.**