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

Commit eb257295 authored by David Su's avatar David Su
Browse files

framework.jar - include framework-wifi-stubs instead of framework-wifi

Stop exporting @hide APIs from framework-wifi
to framework.jar by including framework-wifi-stubs
instead.

Bug: 140299412
Test: boots up and connects to Wifi
Change-Id: If790ea3ac4e6587b28063eac59295cb875a8ce35
parent d084a449
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -491,8 +491,7 @@ java_library {
        "framework-sdkextensions-stubs-systemapi",
        // TODO(b/146167933): Use framework-statsd-stubs instead.
        "framework-statsd",
        // TODO(b/140299412): should be framework-wifi-stubs
        "framework-wifi",
        "framework-wifi-stubs",
        "ike-stubs",
        // TODO(b/147200698): should be the stub of framework-tethering
        "framework-tethering",
@@ -528,7 +527,8 @@ java_library {
        "compat-changeid-annotation-processor",
    ],
    static_libs: [
        "exoplayer2-core"
        "exoplayer2-core",
        "android.hardware.wifi-V1.0-java-constants",
    ]
}

+0 −1
Original line number Diff line number Diff line
@@ -97,7 +97,6 @@ java_library {
    },
    hostdex: true, // for hiddenapi check
    visibility: [
        "//frameworks/base", // TODO(b/140299412) remove once all dependencies are fixed
        "//frameworks/opt/net/wifi/service:__subpackages__",
    ] + test_access_hidden_api_whitelist,
    apex_available: [