Merge "Rename to isIndefiniteThreadSuspensionSafe"

This commit is contained in:
Hans Boehm
2021-04-02 17:29:53 +00:00
committed by Gerrit Code Review

View File

@@ -547,7 +547,7 @@ class ZygoteServer {
try {
ZygoteConnection connection = peers.get(pollIndex);
boolean multipleForksOK = !isUsapPoolEnabled()
&& ZygoteHooks.indefiniteThreadSuspensionOK();
&& ZygoteHooks.isIndefiniteThreadSuspensionSafe();
final Runnable command =
connection.processCommand(this, multipleForksOK);