commit | 7b86fe573c7d30dbe14e067fdac0ef424751cc86 | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Tue Oct 16 18:02:32 2018 -0700 |
committer | Seigo Nonaka <nona@google.com> | Thu Oct 18 14:58:18 2018 -0700 |
tree | d57a5316bbefd7f61540b5652b6b0d6d7df20f3e | |
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