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

Commit cced7eaf authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

Don't show now playing in new rotating text area

Instead we'll show it in the AmbientContainer

Bug: 181049781
Test: manual
Change-Id: Ie933d7bd068cf8e06122b82b21a3fdb0dc695155
parent 5f630223
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -103,6 +103,11 @@ public class KeyguardIndicationRotateTextViewController extends
     */
    public void updateIndication(@IndicationType int type, KeyguardIndication newIndication,
            boolean showImmediately) {
        if (type == INDICATION_TYPE_NOW_PLAYING
                || type == INDICATION_TYPE_REVERSE_CHARGING) {
            // temporarily don't show here, instead use AmbientContainer b/181049781
            return;
        }
        final boolean hasPreviousIndication = mIndicationMessages.get(type) != null;
        final boolean hasNewIndication = newIndication != null;
        if (!hasNewIndication) {