Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3ec91dc authored by Andreas Gampe's avatar Andreas Gampe
Browse files

Gallery2: Fix CollectionIncompatibleType

Fix incorrect indexOf lookup.

Bug: 73288226
Test: m javac-check RUN_ERROR_PRONE=true
Change-Id: Ifb158d6f4c5f0eb078f9d4fb37c7da03c2c0a4fe
parent 6f8c54d2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -104,7 +104,7 @@ public class FilterGradRepresentation extends FilterRepresentation
                count++;
            }
        }
        return "c=" + mBands.indexOf(mBands) + "[" + mBands.size() + "]" + count;
        return "c=" + mBands.indexOf(mCurrentBand) + "[" + mBands.size() + "]" + count;
    }

    private void creatExample() {