Fix an issue that setMaxSuggestions(-1) throws unexpectedly

As per the javadoc, -1 is a valid input.

BUG: 153529167

Test: ag/10976796
Change-Id: I4cf172fbd36b893428be1bb87a9ccb0b7c5c3c6a
1 file changed