From 3cc6d236c38ce43ac4b884bf5e16a9f18c278810 Mon Sep 17 00:00:00 2001 From: Remi NGUYEN VAN Date: Tue, 14 May 2019 14:08:56 +0900 Subject: [PATCH] Have InProcessNetworkStack override NetworkStack This avoids shipping both APKs on Go devices, as would be previously done with the default Go configuration that still included NetworkStack. Test: Flashed, booted walleye with svelte config. Verified that NetworkStack is not on the device and InProcessNetworkStack is used. WiFi working. Bug: 132666298 Change-Id: If4a7a003128a555e512c88469653c3fb2ad864d5 --- packages/NetworkStack/Android.bp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/NetworkStack/Android.bp b/packages/NetworkStack/Android.bp index 62de2ba454550..c3051245e723d 100644 --- a/packages/NetworkStack/Android.bp +++ b/packages/NetworkStack/Android.bp @@ -108,6 +108,8 @@ android_app { defaults: ["NetworkStackAppCommon"], certificate: "platform", manifest: "AndroidManifest_InProcess.xml", + // InProcessNetworkStack is a replacement for NetworkStack + overrides: ["NetworkStack"], } // Updatable network stack packaged as an application