DescriptionImprove readability of StripLayoutHelper#setAccessibilityDescription logic.
The current logic to add accessibility description
for tabs was not very read-able and did not match
existing code style of the project.
This change cleans up the complex if-else conditions
to a much simpler ternary assignment format.
BUG=0
TEST=Re-run junit tests for StripLayoutHelperTest suite.
Committed: https://crrev.com/13795ecb099ae0134017281028152254b9ac489c
Cr-Commit-Position: refs/heads/master@{#408229}
Patch Set 1 #
Messages
Total messages: 11 (6 generated)
|