• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-cqtcocoa誰得pythonphprubygameguibathyscaphec翻訳計画中(planning stage)omegatframeworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

packages/apps/Gallery2


Commit MetaInfo

修订版e3ec91dce0a7efe924cd6e8534e306f1dd7e3b56 (tree)
时间2018-03-02 10:42:59
作者Andreas Gampe <agampe@goog...>
CommiterAndreas Gampe

Log Message

Gallery2: Fix CollectionIncompatibleType

Fix incorrect indexOf lookup.

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

更改概述

差异

--- a/src/com/android/gallery3d/filtershow/filters/FilterGradRepresentation.java
+++ b/src/com/android/gallery3d/filtershow/filters/FilterGradRepresentation.java
@@ -104,7 +104,7 @@ public class FilterGradRepresentation extends FilterRepresentation
104104 count++;
105105 }
106106 }
107- return "c=" + mBands.indexOf(mBands) + "[" + mBands.size() + "]" + count;
107+ return "c=" + mBands.indexOf(mCurrentBand) + "[" + mBands.size() + "]" + count;
108108 }
109109
110110 private void creatExample() {