Merge "Remove the redundant parameters in applyTransactionsLocked" into main