Add proguard configuration for Cast demo app

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=191442704
This commit is contained in:
olly 2018-04-03 08:17:46 -07:00 committed by Oliver Woodman
parent f2399c1c85
commit fa1856942b
2 changed files with 10 additions and 1 deletions

View File

@ -29,7 +29,10 @@ android {
release {
shrinkResources true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt')
proguardFiles = [
"proguard-rules.txt",
getDefaultProguardFile('proguard-android.txt')
]
}
debug {
jniDebuggable = true

View File

@ -0,0 +1,6 @@
# Proguard rules specific to the Cast demo app.
# Accessed via menu.xml
-keep class android.support.v7.app.MediaRouteActionProvider {
*;
}