Make wifi module use shared metalava args
Also (hopefully) temporarily filter out com.android.server
from the stubs, as the wifi module has a server class in
it.
Bug: 137191822
Test: m
Change-Id: I2c62fc16c676305e9ee739285f49656075f38b97
Merged-In: I2c62fc16c676305e9ee739285f49656075f38b97
(cherry picked from commit 0c2ebe2bbf46122c2b8c8a46a06460c91f13f11d)
diff --git a/apex/Android.bp b/apex/Android.bp
index c3b0014..abebfa3 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -26,6 +26,9 @@
"--hide Typo " +
"--hide UnavailableSymbol "
+// TODO: remove this server classes are cleaned up.
+mainline_stubs_args += "--hide-package com.android.server "
+
stubs_defaults {
name: "framework-module-stubs-defaults-publicapi",
args: mainline_stubs_args,