mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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 {
|
productFlavors {
|
||||||
noExtensions
|
noExtensions
|
||||||
withExtensions
|
withExtensions
|
||||||
|
|
|
||||||
|
|
@ -262,7 +262,7 @@ public class SampleChooserActivity extends Activity {
|
||||||
}
|
}
|
||||||
|
|
||||||
private UUID getDrmUuid(String typeString) throws ParserException {
|
private UUID getDrmUuid(String typeString) throws ParserException {
|
||||||
switch (typeString.toLowerCase()) {
|
switch (Util.toLowerInvariant(typeString)) {
|
||||||
case "widevine":
|
case "widevine":
|
||||||
return C.WIDEVINE_UUID;
|
return C.WIDEVINE_UUID;
|
||||||
case "playready":
|
case "playready":
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,11 @@ android {
|
||||||
minSdkVersion project.ext.minSdkVersion
|
minSdkVersion project.ext.minSdkVersion
|
||||||
targetSdkVersion project.ext.targetSdkVersion
|
targetSdkVersion project.ext.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lintOptions {
|
||||||
|
// See: https://github.com/square/okio/issues/58
|
||||||
|
warning 'InvalidPackage'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue