aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurimas Liutikas <aurimas@google.com>2021-05-18 23:17:21 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-05-18 23:17:21 +0000
commit20339c9ebdb8d508268482eed008e6f3acfb2696 (patch)
treecc15dd95c8bc78fb2ec537e1985877d60dcdbbdb
parent461d7f95c888e7dde99c556cf7249c8abdf59c4d (diff)
parentb3d11df06dfe198bc50bd5bede12f163f6a90c02 (diff)
downloaddagger2-20339c9ebdb8d508268482eed008e6f3acfb2696.tar.gz
Revert^2 "Update dagger2 lint baseline" am: 3c40099012 am: b3d11df06dandroid-s-v2-preview-2android-s-v2-preview-1android-s-v2-beta-2android-s-v2-preview-1
Original change: https://android-review.googlesource.com/c/platform/external/dagger2/+/1709776 Change-Id: Ife52c5989112bc5dabaa0ae4814f7affbdedb58a
-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>