OSDN Git Service

Check if singleLineTitle attribute is set for the preference.
authorDoris Ling <dling@google.com>
Fri, 14 Apr 2017 21:04:32 +0000 (14:04 -0700)
committerDoris Ling <dling@google.com>
Fri, 14 Apr 2017 21:04:32 +0000 (14:04 -0700)
commitce58046673bfd18656fd94a6612a250f31036dce
tree3b1decaf41f2ff580093b08df72620fa20b284bd
parent1eaab2db827ee9f99ce2447fb1308a5d5e4f945e
Check if singleLineTitle attribute is set for the preference.

Only call setSingleLine() on the preference title if the attribute is
set.

Bug: 37328004
Test: manual
Change-Id: Ia95230cd08feaf8213cb5917c105d070eb30c11c
core/java/android/preference/Preference.java