summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSiyamed Sinir <siyamed@google.com>2016-08-26 15:23:47 -0700
committerSiyamed Sinir <siyamed@google.com>2016-08-30 14:27:22 -0700
commit9f3958cc2ba3da1406caac64650620d226bf8562 (patch)
tree5732192794ebb71d8da7eef83e84aa6c94f4576b /tools/aapt2/java/JavaClassGenerator_test.cpp
parent885f6495ac05c40753eb133bdf2d7e1f276986a2 (diff)
TextLine.handleRun should throw exception for invalid index
TextLine.handleRun caused infinite loop if measureLimit is out of bounds of start and end parameters (for Spannables). For regular String it used to throw a similar exception in handleText. This CL verifies what is written in ApiDoc: measureLimit should be between start and limit inclusive. Bug: 30985145 Change-Id: I0659e8887f7b43ed2047d08b99bf86d8df80a21c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions