diff options
author | Seigo Nonaka <nona@google.com> | 2018-10-16 18:02:32 -0700 |
---|---|---|
committer | Seigo Nonaka <nona@google.com> | 2018-10-18 14:58:18 -0700 |
commit | 7b86fe573c7d30dbe14e067fdac0ef424751cc86 (patch) | |
tree | d57a5316bbefd7f61540b5652b6b0d6d7df20f3e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 916bdd7d4d17257d7c3df0debf80274819503d66 (diff) |
Change add{StyleRun, ReplacementRun} to append{StyleRun, ReplacementRun}
Giving any range to the Builder is too much freedum and hard to tell
errors. Changes to accept length instead of ranges. By this change, we
can prevent and tell errors about
- The gap in the text that no Paint is assigned.
- The given range is overlapped.
- The given range exceeds the text length.
Bug: 112327179
Test: TreeHugger
Change-Id: Iefc078b1f7be2d006a65b46e0b4ea1018ecb29e7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions