e967d3f6ac2e1e1f612f99b9c76abcb9e13bb7a2 |
|
25-Jul-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Fix JavaDoc first sentence extraction. The old algorithm for detecting the first sentence of a JavaDoc comment looked for the first occurence of '.'. This does not work when code or a {@link android.R.styleable} link is encountered in the first sentence. Switch to checking for whitespace characters after the '.' character. Bug: 62900335 Test: make aapt2_tests Change-Id: I8238f6a6304c9c2f92e2e576ca8962a59c2b20ea
/frameworks/base/tools/aapt2/text/Utf8Iterator.cpp
|