Add framework-statsd dependency and make framework-statsd visible to

Tethering package.

Tethering needs StatsEvent and StatsLog which are in
framework-statsd.stubs.module_lib to write metrics.

Bug: 153942334

Test: make
Change-Id: I8ba142a9b3678de36e6c4880a64e992e00680f38
This commit is contained in:
waynema
2020-06-19 19:48:56 +08:00
committed by Wayne Ma
parent 3ed037cb40
commit 41e5aac60f
2 changed files with 3 additions and 1 deletions

View File

@@ -74,6 +74,7 @@ java_sdk_library {
visibility: [
"//frameworks/base", // Framework
"//frameworks/base/apex/statsd:__subpackages__", // statsd apex
"//frameworks/base/packages/Tethering", // Tethering
"//frameworks/opt/net/wifi/service", // wifi service
"//packages/providers/MediaProvider", // MediaProvider apk
],
@@ -88,4 +89,4 @@ java_sdk_library {
"com.android.os.statsd",
"test_com.android.os.statsd",
],
}
}

View File

@@ -33,6 +33,7 @@ java_defaults {
"net-utils-framework-common",
],
libs: [
"framework-statsd.stubs.module_lib",
"framework-tethering.impl",
"framework-wifi",
"unsupportedappusage",