commit | 84a3320507aa2948098c4964cea68b818f76ff88 | [log] [tgz] |
---|---|---|
author | Jean Chalard <jchalard@google.com> | Thu Feb 13 18:24:36 2014 +0900 |
committer | Jean Chalard <jchalard@google.com> | Thu Feb 13 19:14:24 2014 +0900 |
tree | 35b1383a004007669c098fa7cad58dd7b3b3f648 | |
parent | 35fbb9f9e59795e233fb59cb5a87573e4669aebd [diff] |
Fix a crash where user data was not validated. ExtractedText#partialStartOffset and #partialEndOffset are from the app, that sets it as it sees fit. We need to validate them so that we don't crash. Still emit a warning if this is the case, as this is not expected. Bug: 9570771 Change-Id: Id9d6babd1620da39bf0e454b14d7ce716bd9d9d3