Fixes #6097 by adding a necessary argument
Merge pull request #6122 from AndroidSFV/fix6097

Fixes #6097