Do not block transaction application on flush

Condition wait in applyTransactionState blocks threads sending a
synchronous transaction until SF can commit the transaction.  However,
the main SF thread can also applyTransactionState on pending
transactions.  In these cases, SF should not be blocked waiting for
itself to commit the transaction.

Bug: 127852667
Test: build, boot, manual
Change-Id: Id6b81529b2f1537ba5ce7aec27789e26225b167b
2 files changed