summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2019-10-03 17:27:18 +0900
committerRemi NGUYEN VAN <reminv@google.com>2019-10-03 17:32:29 +0900
commit8402c20a88eea883ab10e4a585d9fcb2ce805aaa (patch)
tree3c4ecb79a25e60e707efdb21c4a522143f0087c9
parent0ddc02acfb99e77b6318408567b5f3209d2a1d47 (diff)
NetworkStack: Explicitly set process name
Helps to share the process across other connectivity mainline modules (regardless of whether com.android.networkstack or com.google.android.networkstack is used). com.android.networkstack.process is chosen to make sure it does not conflict with package names of any APK. Bug: 135691051 Test: Manual tests - Installed via adb on QP1A release build - manual connect to wifi networks - Remove networks Change-Id: I314ed16cd36e08003f7c950896089fe6814c3db8
-rw-r--r--AndroidManifest.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index cace7e2..249e510 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -43,7 +43,8 @@
<uses-permission android:name="android.permission.MAINLINE_NETWORK_STACK" />
<application
android:extractNativeLibs="false"
- android:persistent="true">
+ android:persistent="true"
+ android:process="com.android.networkstack.process">
<service android:name="com.android.server.NetworkStackService"
android:permission="android.permission.MAINLINE_NETWORK_STACK">
<intent-filter>