From 21eb629baa927973da09277d8e56336a1a5292a0 Mon Sep 17 00:00:00 2001 From: Roshan Pius Date: Wed, 8 Apr 2020 15:56:46 -0700 Subject: [PATCH] wifi(jar-jar): Jar-jar HIDL stubs to a separate namespace This is statically linked by the wifi service, so should be jar-jar'ed out to a separate namespace to avoid other components in system_server calling our copy of the stubs. Bug: 151475926 Test: Device boots up and connects to wifi networks. Change-Id: I79247b72a3b5f6dabf38c3cb9705fb5ca0aa729f --- wifi/jarjar-rules.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wifi/jarjar-rules.txt b/wifi/jarjar-rules.txt index eeb006ee6ab2c..cf11f43475034 100644 --- a/wifi/jarjar-rules.txt +++ b/wifi/jarjar-rules.txt @@ -53,6 +53,9 @@ rule com.google.protobuf.** com.android.server.x.wifi.protobuf.@1 rule com.android.internal.messages.SystemMessageProto* com.android.server.x.wifi.messages.SystemMessageProto@1 # Use our statically linked PlatformProperties library rule android.sysprop.** com.android.server.x.wifi.sysprop.@1 +# Use our statically linked HIDL stubs +rule android.hardware.** com.android.server.x.wifi.hardware.@1 +rule android.hidl.** com.android.server.x.wifi.hidl.@1 # used by both framework-wifi and wifi-service rule android.content.pm.BaseParceledListSlice* android.x.net.wifi.util.BaseParceledListSlice@1