OSDN Git Service

Merge "Gallery2: Fix CollectionIncompatibleType"
authorTreehugger Robot <treehugger-gerrit@google.com>
Fri, 2 Mar 2018 16:29:55 +0000 (16:29 +0000)
committerGerrit Code Review <noreply-gerritcodereview@google.com>
Fri, 2 Mar 2018 16:29:55 +0000 (16:29 +0000)
src/com/android/gallery3d/filtershow/filters/FilterGradRepresentation.java

index a3a7e95..928c3ea 100644 (file)
@@ -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() {