Replace stubs with library references
Also, fix error where SoftwareBitmapDetector reported wrong location,
causing test failures due to "Incident (message, location) reported more
than once; this typically means that your detector is incorrectly
reaching the same element twice" on "line=-1"
Test: SystemUILintCheckerTest
Bug: 238923086
Change-Id: If60ebb0bb894710f46d9458d818be3c5b273bc35
diff --git a/packages/SystemUI/checks/Android.bp b/packages/SystemUI/checks/Android.bp
index 8457312..cf66ff6 100644
--- a/packages/SystemUI/checks/Android.bp
+++ b/packages/SystemUI/checks/Android.bp
@@ -40,6 +40,10 @@
"tests/**/*.kt",
"tests/**/*.java",
],
+ data: [
+ ":framework",
+ ":androidx.annotation_annotation",
+ ],
static_libs: [
"SystemUILintChecker",
"junit",