framework-wifi-test-defaults: use framework instead of framework-minus-apex

framework-minus-apex is now restricted visibility,
instead use framework.jar.

Bug: 138801922
Test: compiles
Change-Id: I2a33de91dbf9609b93f427f641483b74da7cf82a
diff --git a/wifi/Android.bp b/wifi/Android.bp
index 634f674..09d5386 100644
--- a/wifi/Android.bp
+++ b/wifi/Android.bp
@@ -106,8 +106,10 @@
     name: "framework-wifi-test-defaults",
     sdk_version: "core_platform", // tests can use @CorePlatformApi's
     libs: [
+        // order matters: classes in framework-wifi are resolved before framework, meaning
+        // @hide APIs in framework-wifi are resolved before @SystemApi stubs in framework
         "framework-wifi",
-        "framework-minus-apex",
+        "framework",
 
         // if sdk_version="" this gets automatically included, but here we need to add manually.
         "framework-res",