demote lint ImpliedQuantity to warning
This is hitting a lot of plurals, causing the CI builds to fail. But unfortunately, its getting it wrong. Its actually for a format in a string like "Updated today" in languages like pt that need special cases for 0/1 items. In this case, it makes no sense to say "Updated 0 days ago".
This commit is contained in:
parent
78ecba646c
commit
c43877eed1
@ -249,7 +249,7 @@ android {
|
|||||||
disable 'MissingTranslation'
|
disable 'MissingTranslation'
|
||||||
|
|
||||||
// to make CI fail on errors until this is fixed https://github.com/rtyley/spongycastle/issues/7
|
// to make CI fail on errors until this is fixed https://github.com/rtyley/spongycastle/issues/7
|
||||||
warning 'InvalidPackage'
|
warning 'InvalidPackage', 'ImpliedQuantity'
|
||||||
|
|
||||||
error 'AppCompatMethod', 'NestedScrolling', 'StringFormatCount', 'UnsafeProtectedBroadcastReceiver'
|
error 'AppCompatMethod', 'NestedScrolling', 'StringFormatCount', 'UnsafeProtectedBroadcastReceiver'
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user