Commit 8a411c31 by olly Committed by Oliver Woodman

Suppress some lint errors

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=150078703
parent a26cb9cc
......@@ -33,6 +33,11 @@ android {
}
}
lintOptions {
// The demo app does not have translations.
disable 'MissingTranslation'
}
productFlavors {
noExtensions
withExtensions
......
......@@ -262,7 +262,7 @@ public class SampleChooserActivity extends Activity {
}
private UUID getDrmUuid(String typeString) throws ParserException {
switch (typeString.toLowerCase()) {
switch (Util.toLowerInvariant(typeString)) {
case "widevine":
return C.WIDEVINE_UUID;
case "playready":
......
......@@ -22,6 +22,11 @@ android {
minSdkVersion project.ext.minSdkVersion
targetSdkVersion project.ext.targetSdkVersion
}
lintOptions {
// See: https://github.com/square/okio/issues/58
warning 'InvalidPackage'
}
}
dependencies {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment