Gallery2: Fix CollectionIncompatibleType

Fix incorrect indexOf lookup.

Bug: 73288226
Test: m javac-check RUN_ERROR_PRONE=true
Change-Id: Ifb158d6f4c5f0eb078f9d4fb37c7da03c2c0a4fe
1 file changed