aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2021-05-10 19:38:23 -0700
committerColin Cross <ccross@android.com>2021-05-10 19:38:28 -0700
commit8c81cc68b461029c2c36acd68eea554d933a7f2a (patch)
treecc15dd95c8bc78fb2ec537e1985877d60dcdbbdb
parent32aa1bafc970a6cac00451656ff81c7a3d7e35fc (diff)
downloaddagger2-8c81cc68b461029c2c36acd68eea554d933a7f2a.tar.gz
Update dagger2 lint baseline
Update the lint baseline for the update to dagger-2.35.1. Test: m out/soong/.intermediates/external/dagger2/hilt_android_testing/android_common/lint/lint-report.xml Change-Id: I5e1cfe9967a0e58f4b5716ccc20020c312883e8a
-rw-r--r--lint-baseline.xml15
1 files changed, 13 insertions, 2 deletions
diff --git a/lint-baseline.xml b/lint-baseline.xml
index cf790c246..147f1372e 100644
--- a/lint-baseline.xml
+++ b/lint-baseline.xml
@@ -7,8 +7,19 @@
errorLine1=" } catch (ClassNotFoundException"
errorLine2=" ^">
<location
- file="external/dagger2/java/dagger/hilt/android/internal/testing/TestApplicationComponentManager.java"
- line="85"
+ file="external/dagger2/java/dagger/hilt/android/internal/testing/EarlySingletonComponentCreator.java"
+ line="33"
+ column="14"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="Multi-catch with these reflection exceptions requires API level 19 (current min is 14) because they get compiled to the common but new super type `ReflectiveOperationException`. As a workaround either create individual catch statements, or catch `Exception`."
+ errorLine1=" } catch (ClassNotFoundException"
+ errorLine2=" ^">
+ <location
+ file="external/dagger2/java/dagger/hilt/android/internal/testing/TestComponentDataSupplier.java"
+ line="35"
column="14"/>
</issue>