Calling setItemChecked(p, true) twice would toggle the selection in ListView.

This fixes a bug in ListView#setItemChecked(int, boolean). Calling the method
twice would cause the checked state to be toggled instead of remaining the
same.
1 file changed