Assigned
Status Update
Comments
ra...@google.com <ra...@google.com> #2
We have shared this with our product and engineering team and will update this issue with more information as it becomes available.
db...@gmail.com <db...@gmail.com> #3
Thanks for your request. We will investigate this issue and see if we can implement the behavior you've requested.
Description
I've been getting a significant number of StringIndexOutOfBoundsExceptions from textview on Android 15 (enough to push my Crash rate to exceed the overall bad behavior threshold). The typical exception is below.
and here's the code from TextView that appears to be causing the issue.
Clearly from this code the index can end up as
text.length()
instead oftext.length() - 1
causing the StringIndexOutOfBoundsException.The textview code i was looking at is from here:
I'm not sure if that's the latest.