summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Huang <huangluke@google.com>2020-06-20 11:38:17 +0800
committerLuke Huang <huangluke@google.com>2020-06-22 15:07:58 +0800
commit652aa2918b29f5f7d16dbcb77b08eb7c304f971a (patch)
tree545f5d93134d16d92c97fcd96ff331251ede8f23
parent3e635f3a43ca072d1471d8b65d942311316f3ebd (diff)
downloadnet-652aa2918b29f5f7d16dbcb77b08eb7c304f971a.tar.gz
Add the visibility of net-utils-framework-common for cts-netandroid11-dev
DnsResolverTest required DnsPacket to parse DNS answer, and the DnsPacket class is provided by system previously. However, DnsPacket was moved to here with changed package, which has no backward-compatibility and might cause NoClassDefFoundError. To solve this problem, build the DnsResolverTest with DnsPacket directly. Test: build Test: atest DnsResolverTest Bug: 150952393 Change-Id: I463fd58173cee55a210fa6c6b8c9b0d5a74b7906
-rw-r--r--common/Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Android.bp b/common/Android.bp
index d93579b1..0f8dda08 100644
--- a/common/Android.bp
+++ b/common/Android.bp
@@ -45,6 +45,7 @@ java_library {
sdk_version: "system_current",
jarjar_rules: "jarjar-rules-shared.txt",
visibility: [
+ "//cts/tests/tests/net",
"//frameworks/base/packages/Tethering",
"//frameworks/opt/net/ike",
"//frameworks/opt/telephony",