Reconcile Zygote process name code with Q release.
Some Zygote code that was pushed to AOSP master is different from the pushed Q release. In particular, a call to set the process name for a Zygote child was missing, causing an app zygote test to fail. Bug: 139535125 Test: atest android.app.cts.ServiceTest#testAppZygoteServices Change-Id: I53b0bc0116f1573cb1e52a998e10346bd5601f67 Merged-In: I2bce277ff8f2de4614e19d5385fe6712b076f9c9
This commit is contained in:
committed by
Ian Kasprzak
parent
d191463bb0
commit
3b8ca2e7ac
@@ -479,6 +479,10 @@ class ZygoteConnection {
|
||||
|
||||
closeSocket();
|
||||
|
||||
if (parsedArgs.mNiceName != null) {
|
||||
Process.setArgV0(parsedArgs.mNiceName);
|
||||
}
|
||||
|
||||
// End of the postFork event.
|
||||
Trace.traceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER);
|
||||
if (parsedArgs.mInvokeWith != null) {
|
||||
|
||||
Reference in New Issue
Block a user