From 893286a5d4c8bac3a332b5f38a553900488ee6b1 Mon Sep 17 00:00:00 2001 From: Matt Pietal Date: Thu, 12 Aug 2021 18:26:15 -0400 Subject: [PATCH] Limit keyguard views on alt displays When casting or on other displays, the keyguard has always limited the information shown when locked. Don't show the smartspace and icons on these alternate displays Fixes: 196175396 Test: manual (cast to nest display device) Change-Id: Ied1ecff9103d8539f075785409d2951a1be21ab2 --- .../KeyguardClockSwitchController.java | 19 +++++++++++++++++++ .../keyguard/KeyguardDisplayManager.java | 1 + 2 files changed, 20 insertions(+) diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java b/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java index 632919ae51e47..f4a3fb236ffa1 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java @@ -97,6 +97,8 @@ public class KeyguardClockSwitchController extends ViewController