Merge pull request #6109 from sauravrao637/codeImrovement

Replaced if/else with switch in ErrorActivity, supress false lint warning
This commit is contained in:
Robin 2021-04-19 16:45:45 +02:00 committed by GitHub
commit 10d4372e19
2 changed files with 12 additions and 8 deletions

View file

@ -66,6 +66,9 @@ android {
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
// suppress false warning ("Resource IDs will be non-final in Android Gradle Plugin version
// 5.0, avoid using them in switch case statements"), which affects only library projects
disable 'NonConstantResourceId'
}
compileOptions {