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

Commit 2e8cb341 authored by YK Hung's avatar YK Hung Committed by Android (Google) Code Review
Browse files

Merge "Allow movement method on UsageProgressBarPreference" into main

parents b485ab8a 22e9113b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ import android.content.Context;
import android.text.SpannableString;
import android.text.Spanned;
import android.text.TextUtils;
import android.text.method.LinkMovementMethod;
import android.text.style.AbsoluteSizeSpan;
import android.util.AttributeSet;
import android.view.View;
@@ -174,6 +175,7 @@ public class UsageProgressBarPreference extends Preference {
            bottomSummary.setVisibility(View.GONE);
        } else {
            bottomSummary.setVisibility(View.VISIBLE);
            bottomSummary.setMovementMethod(LinkMovementMethod.getInstance());
            bottomSummary.setText(mBottomSummary);
        }