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

Commit 6c00e387 authored by David Su's avatar David Su
Browse files

SettingsLibTests: grant access to Wifi @hide APIs

Allow SettingsLib integration tests to access
@hide Wifi APIs.

This should only be temporary since WifiTracker
(and by extension WifiTrackerTest) will be
replaced by WifiTracker2.

Bug: 146513037
Test: atest SettingsLibTests
Test: m ANDROID_BUILDSPEC=vendor/google/build/app_build_spec.mk (build against git_master/apps target)
Change-Id: Iefcdaceafedaf4d3c07af2c1370b53d04539e88f
parent 798a92b2
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -14,7 +14,10 @@

android_test {
    name: "SettingsLibTests",
    defaults: ["SettingsLibDefaults"],
    defaults: [
        "SettingsLibDefaults",
        "framework-wifi-test-defaults"
    ],

    certificate: "platform",

+1 −0
Original line number Diff line number Diff line
@@ -50,6 +50,7 @@ test_access_hidden_api_whitelist = [

    "//frameworks/opt/net/wifi/libs/WifiTrackerLib/tests",
    "//external/robolectric-shadows:__subpackages__",
    "//frameworks/base/packages/SettingsLib/tests/integ",
]

java_library {