diff options
author | Adam Lesinski <adamlesinski@google.com> | 2017-07-24 18:19:36 -0700 |
---|---|---|
committer | Andrew Solovay <asolovay@google.com> | 2017-07-27 17:22:09 -0700 |
commit | 18dc03a9fd87b544eef9ef701f676a7c5306594c (patch) | |
tree | 643a4edae66997f2f3e7d554f205bb6db26eb07b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 7ceb8eff19f8f01f5a6fa1d1a6fe8f094d42d9da (diff) |
Cherry-pick from master: 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 , make ds-docs
Original change-Id: I8238f6a6304c9c2f92e2e576ca8962a59c2b20ea
Change-Id: Ie272d0d793d157f2a30f3ead20b2b53976661d33
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions