From cced7eafe3bfb20151e37aa798bdf14e7e4631b2 Mon Sep 17 00:00:00 2001 From: Beverly Date: Tue, 23 Feb 2021 16:59:10 -0500 Subject: [PATCH] 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 --- .../keyguard/KeyguardIndicationRotateTextViewController.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardIndicationRotateTextViewController.java b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardIndicationRotateTextViewController.java index d4678f39e404e..127128dda1124 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardIndicationRotateTextViewController.java +++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardIndicationRotateTextViewController.java @@ -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) {