Add back the workaround for coverage
It was added in ag/12595075 to workaround an issue that some methods
are not considered as tested although they are.
Somehow I accidentally removed it in ag/13332198...
Adding it back and hopefully this gives us back the missing 2%
coverage.
Bug: 179686141
Change-Id: Ice399b12ea004acb3c9e441a8e938b080828c60c
(cherry picked from commit eb2ae76ddb6dfb6cefc9817cba4674b53c7c778a)
diff --git a/native/Android.bp b/native/Android.bp
index 32a58c3..61b7ade 100644
--- a/native/Android.bp
+++ b/native/Android.bp
@@ -218,6 +218,9 @@
],
compile_multilib: "prefer32",
+
+ // A workaround for code coverage. See b/166040889#comment23
+ sdk_variant_only: true,
}
// ------------------------------------