Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85627aa0 authored by Doris Ling's avatar Doris Ling Committed by android-build-merger
Browse files

Merge "Fix issue for Preference.setSingleLineTitle() has no effect." into oc-dr1-dev am: 18f3adc0

am: 33dbb7d0

Change-Id: I3c39229e1725029f9822bb8fa8d6d47781f8ebc4
parents 42134c05 33dbb7d0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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();
    }