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

Commit f802af27 authored by Merissa Mitchell's avatar Merissa Mitchell Committed by Android (Google) Code Review
Browse files

Merge "Add a null check to avoid NPE." into tm-qpr-dev

parents 299b8d88 59b90a43
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -221,8 +221,10 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene

        mEditText.setTextColor(textColor);
        mEditText.setHintTextColor(hintColor);
        if (mEditText.getTextCursorDrawable() != null) {
            mEditText.getTextCursorDrawable().setColorFilter(
                    accentColor.getDefaultColor(), PorterDuff.Mode.SRC_IN);
        }
        mContentBackground.setColor(editBgColor);
        mContentBackground.setStroke(stroke, accentColor);
        mDelete.setImageTintList(ColorStateList.valueOf(deleteFgColor));