Merge "Rename to isIndefiniteThreadSuspensionSafe" am: 0bf32e7e7b am: b7f0eacf8f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1662663 Change-Id: Id06325d1294f14f65795488d3ebe00dc7ccd0f4c
This commit is contained in:
@@ -547,7 +547,7 @@ class ZygoteServer {
|
|||||||
try {
|
try {
|
||||||
ZygoteConnection connection = peers.get(pollIndex);
|
ZygoteConnection connection = peers.get(pollIndex);
|
||||||
boolean multipleForksOK = !isUsapPoolEnabled()
|
boolean multipleForksOK = !isUsapPoolEnabled()
|
||||||
&& ZygoteHooks.indefiniteThreadSuspensionOK();
|
&& ZygoteHooks.isIndefiniteThreadSuspensionSafe();
|
||||||
final Runnable command =
|
final Runnable command =
|
||||||
connection.processCommand(this, multipleForksOK);
|
connection.processCommand(this, multipleForksOK);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user