mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
Suppress some lint errors
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=150078703
This commit is contained in:
parent
a26cb9cc3c
commit
8a411c310d
3 changed files with 11 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue