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
diff --git a/Android.bp b/Android.bp
index a7ac094..d542502 100644
--- a/Android.bp
+++ b/Android.bp
@@ -491,8 +491,7 @@
         "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 @@
         "compat-changeid-annotation-processor",
     ],
     static_libs: [
-        "exoplayer2-core"
+        "exoplayer2-core",
+        "android.hardware.wifi-V1.0-java-constants",
     ]
 }