Mark SystemUI-tests as test code for lint

Lint warns on usages of @VisibleForTesting methods from
non-test code. Since SystemUI-tests is just a regular
android_library instead of an android_test, it was warning
there. Mark it as a test module so lint knows not to warn.

Fixes: 235339747
Test: Presubmits
Change-Id: Ibf8e94c4f9582740e60e285cc918b2976c1fc19a
This commit is contained in:
Cole Faust
2022-08-16 15:30:26 -07:00
parent 258ded61cd
commit 17f1e7268d

View File

@@ -247,6 +247,9 @@ android_library {
"com.android.systemui",
],
plugins: ["dagger2-compiler"],
lint: {
test: true,
},
}
// Opt-in config for optimizing the SystemUI target using R8.