summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorVictoria Lease <violets@google.com>2012-09-07 16:41:59 -0700
committerVictoria Lease <violets@google.com>2012-09-10 14:49:31 -0700
commit91373209da02813ed760d9ea201d6f917e2a1fc1 (patch)
tree58be6b7344a16aa221a429955e4a24328c1630a5 /graphics/java/android/renderscript/RenderScript.java
parent37ee53420ce47860807eb8eaeb454c12fa46797b (diff)
Avert crash when dragging text in same TextView
The previous implementation made liberal assumptions about the size of the string being edited, as well as the position of the substring being dragged. Explicitly checking those assumptions fixes our IndexOutOfBoundsException. Bug: 7129392 Change-Id: I32560cf87fbbe703a8b26c7eb2a64c8f8c0bfcf1
Diffstat (limited to 'graphics/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions