commit | 08836d4ca5e1dab422575f1f0a1ad617a59e6ba0 | [log] [tgz] |
---|---|---|
author | Roozbeh Pournader <roozbeh@google.com> | Tue Jun 06 16:23:09 2017 -0700 |
committer | Roozbeh Pournader <roozbeh@google.com> | Wed Jun 07 12:12:30 2017 -0700 |
tree | 20f7b5c4017160f43c071a1ae12af8ff7a9b516a | |
parent | a3112ceedc146005779dba2825af5484d55c8827 [diff] |
Early exit if there are no spans affecting display In TextLine#handleRun(), exit early and shape the text as one whole if there were spans, but none of them were a subclass of MetricAffectingSpan or CharacterStyle. Change-Id: I859c896ddb9c4828bfddf200e913e98262da6ea3 Fixes: 30985144 Test: cts-tradefed run cts-dev --module CtsTextTestCases Test: adb shell am instrument -w -e package android.text com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner