Merge "Fix issue for Preference.setSingleLineTitle() has no effect." into oc-dr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
18f3adc03a
@@ -934,6 +934,7 @@ public class Preference implements Comparable<Preference> {
|
||||
* @param singleLineTitle set {@code true} if the title should be constrained to one line
|
||||
*/
|
||||
public void setSingleLineTitle(boolean singleLineTitle) {
|
||||
mHasSingleLineTitleAttr = true;
|
||||
mSingleLineTitle = singleLineTitle;
|
||||
notifyChanged();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user