Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d8a34d3 authored by Chalard Jean's avatar Chalard Jean
Browse files

Allow usage of SdkLevel in the framework/wifi services

This is necessary for EthernetNetworkFactory because it uses
the static lib NetworkFactory which needs to test where it runs.
Wifi services also need this for its own factories.

Bug: 183902758
Test: ClientModeImplTest
      OemWifiNetworkFactoryTest
      TelephonyNetworkFactoryTest
      UntrustedWifiNetworkFactoryTest
      WifiNetworkFactoryTest
Change-Id: I73cc38d7857934fe50995c666915662de4c154ce
parent 28acefc8
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -52,7 +52,8 @@ java_library {
    libs: [
        "unsupportedappusage",
        "framework-wifi-util-lib",
        "framework-connectivity"
        "framework-connectivity",
        "modules-utils-build_system",
    ],
    static_libs: [
        // All the classes in netd_aidl_interface must be jarjar so they do not conflict with the
@@ -60,6 +61,7 @@ java_library {
        "netd_aidl_interface-V3-java",
        "netlink-client",
        "networkstack-client",
        "modules-utils-build_system",
    ],
    apex_available: [
        "com.android.wifi",
@@ -80,7 +82,7 @@ filegroup {
    ],
    visibility: [
        "//frameworks/base/packages/Tethering",
        "//packages/modules/Connectivity/Tethering"
        "//packages/modules/Connectivity/Tethering",
    ],
}