summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2019-03-27 17:29:59 +0000
committerAnton Hansson <hansson@google.com>2019-03-27 17:29:59 +0000
commita04d81ef477c3adcfcd06a9f1356b3190318c441 (patch)
treeb244a63ba66b7e00c5288c5f886a1716f12ab24d /rs/java/android/renderscript/RenderScript.java
parentfdafee5024749591635438c6f0f70178a7efbb0e (diff)
Make TranslatingCursor deal with dupe column names
TranslatingCursor previously assumed each column name appeared only once in the base cursor and used getColumIndex(String) to find the index of it. It would then translate only that single index. Instead, maintain a set of column indices that need translating. Also add a unit test. Bug: 125467331 Test: atest FrameworksCoreTests:TranslatingCursorTest Test: verified broken app in bug report is working correctly Change-Id: I33a24bf6474338210ec7b9c6b54912ed49f23cb3
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions