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

Commit ef3fb5c6 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

Merge "Merge "AOD: Show keyguard indications in white" into oc-dr1-dev am:...

Merge "Merge "AOD: Show keyguard indications in white" into oc-dr1-dev am: ec05633f am: bbef8631" into oc-mr1-dev-plus-aosp
parents cf062151 4887a799
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -280,13 +280,10 @@ public class KeyguardIndicationController {
            if (mDozing) {
                // If we're dozing, never show a persistent indication.
                if (!TextUtils.isEmpty(mTransientIndication)) {
                    // When dozing we ignore the initial text color and use white instead.
                    // We don't wait to draw black text on a black background.
                    int color = mTransientTextColor == mInitialTextColor ?
                            Color.WHITE : mTransientTextColor;
                    // When dozing we ignore any text color and use white instead, because
                    // colors can be hard to read in low brightness.
                    mTextView.setTextColor(Color.WHITE);
                    mTextView.switchIndication(mTransientIndication);
                    mTextView.setTextColor(color);

                } else {
                    mTextView.switchIndication(null);
                }