aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2021-05-11 21:35:45 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-05-11 21:35:45 +0000
commit5bc4f6fa202812626a9b8cdf05bbe95d1719e054 (patch)
treecc15dd95c8bc78fb2ec537e1985877d60dcdbbdb
parent6f972fcf26c02562f4d483c579f9b666713dc8e7 (diff)
parent8f14b8ba3594d2aa096da1610fbc47da98da7f5d (diff)
downloaddagger2-5bc4f6fa202812626a9b8cdf05bbe95d1719e054.tar.gz
Update dagger2 lint baseline am: 8c81cc68b4 am: b4ce7f404f am: 37ecf50779 am: 8f14b8ba35
Original change: https://android-review.googlesource.com/c/platform/external/dagger2/+/1701935 Change-Id: Ic50aa7b9ab2d9168078ea39dbbdbb7c18da832b3
-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>