diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-09-08 13:36:40 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-09-08 13:36:40 +0000 |
commit | 72b6ed9198f088b217522db2607b733a84f14374 (patch) | |
tree | 2ab9d09e1e0c1a17f9873024f5f313eec099fb28 | |
parent | 50972cf5aacfe0ae2b8d0d83af6c0065c8fb02ca (diff) | |
parent | ecf36156ea967499fa5f63b1c0f47c88780c4982 (diff) | |
download | dagger2-android13-mainline-go-sdkext-release.tar.gz |
Snap for 8756029 from ecf36156ea967499fa5f63b1c0f47c88780c4982 to mainline-go-sdkext-releaseaml_go_sdk_330810000android13-mainline-go-sdkext-release
Change-Id: Ic33a5ffafe60e2ca05342080191edb31f7d6dbfe
-rw-r--r-- | Android.bp | 4 | ||||
-rw-r--r-- | lint-baseline.xml | 26 |
2 files changed, 26 insertions, 4 deletions
diff --git a/Android.bp b/Android.bp index 3a5a2f8b1..57771c5f5 100644 --- a/Android.bp +++ b/Android.bp @@ -80,10 +80,6 @@ java_library { "guava", "jsr330", ], - apex_available: [ - "//apex_available:platform", - "com.android.adservices", - ], sdk_version: "core_current", } diff --git a/lint-baseline.xml b/lint-baseline.xml new file mode 100644 index 000000000..147f1372e --- /dev/null +++ b/lint-baseline.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<issues format="5" by="lint 4.1.0" client="cli" variant="all" version="4.1.0"> + + <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/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> + +</issues> |