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

Commit 33dbb7d0 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

Change-Id: I04b7160390a4c3cdee6f0355e3aeb0fdee0a4719
parents 2a3219af 18f3adc0
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();
    }