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

Commit 403693bc authored by Siyamed Sinir's avatar Siyamed Sinir
Browse files

Blacklist TextView.mCurTextColor

setTextColor/getCurrentTextColor should be used instead.

Test: None
Bug: 123769356
Change-Id: Ic31897632fb7a32e7f653a7bc0ad3655379a70db
parent 55d9a604
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -427,8 +427,13 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
    private ColorStateList mHintTextColor;
    private ColorStateList mLinkTextColor;
    @ViewDebug.ExportedProperty(category = "text")
    @UnsupportedAppUsage

    /**
     * {@link #setTextColor(int)} or {@link #getCurrentTextColor()} should be used instead.
     */
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P)
    private int mCurTextColor;

    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P, trackingBug = 115609023)
    private int mCurHintTextColor;
    private boolean mFreezesText;