packages/apps/Gallery2
修订版 | e3ec91dce0a7efe924cd6e8534e306f1dd7e3b56 (tree) |
---|---|
时间 | 2018-03-02 10:42:59 |
作者 | Andreas Gampe <agampe@goog...> |
Commiter | Andreas Gampe |
Gallery2: Fix CollectionIncompatibleType
Fix incorrect indexOf lookup.
Bug: 73288226
Test: m javac-check RUN_ERROR_PRONE=true
Change-Id: Ifb158d6f4c5f0eb078f9d4fb37c7da03c2c0a4fe
@@ -104,7 +104,7 @@ public class FilterGradRepresentation extends FilterRepresentation | ||
104 | 104 | count++; |
105 | 105 | } |
106 | 106 | } |
107 | - return "c=" + mBands.indexOf(mBands) + "[" + mBands.size() + "]" + count; | |
107 | + return "c=" + mBands.indexOf(mCurrentBand) + "[" + mBands.size() + "]" + count; | |
108 | 108 | } |
109 | 109 | |
110 | 110 | private void creatExample() { |